Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70880ac
)
- minor typo
author
alex
<alex>
Thu, 7 Jul 2005 14:27:05 +0000
(14:27 +0000)
committer
alex
<alex>
Thu, 7 Jul 2005 14:27:05 +0000
(14:27 +0000)
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
e4b4681
..
7b1fe3e
100644
(file)
--- 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