From 0738a2d1179e307050a1ad161fc5f6942e7cf400 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 7 Jul 2005 14:27:05 +0000 Subject: [PATCH] - minor typo --- lustre/mds/handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index e4b4681..7b1fe3e 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -292,7 +292,7 @@ struct dentry *mds_id2locked_dentry(struct obd_device *obd, struct lustre_id *id if (lockh[1].cookie) ldlm_lock_decref(lockh + 1, *mode); #endif - } if (de->d_inode && de->d_inode->i_nlink == 0) { + } else if (de->d_inode && de->d_inode->i_nlink == 0) { /* as sometimes we lookup inode by ino/generation through iopen mechanism, it's possible to find already unlinked inode with nlink == 0. let's interpretate the case as -- 1.8.3.1