From: alex Date: Thu, 7 Jul 2005 14:27:05 +0000 (+0000) Subject: - minor typo X-Git-Tag: 1.4.10~921 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0738a2d1179e307050a1ad161fc5f6942e7cf400;p=fs%2Flustre-release.git - minor typo --- 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