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:
014bd00
)
b=7272
author
alex
<alex>
Fri, 12 Aug 2005 21:32:49 +0000
(21:32 +0000)
committer
alex
<alex>
Fri, 12 Aug 2005 21:32:49 +0000
(21:32 +0000)
- additional debug
lustre/mds/mds_reint.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_reint.c
b/lustre/mds/mds_reint.c
index
9e155c6
..
4070810
100644
(file)
--- a/
lustre/mds/mds_reint.c
+++ b/
lustre/mds/mds_reint.c
@@
-2447,6
+2447,9
@@
cleanup:
ldlm_lock_decref(parent_lockh, LCK_PW);
else
ptlrpc_save_lock(req, parent_lockh, LCK_PW);
+ if (dchild->d_inode && rc && (dchild->d_inode->i_nlink == 0 ||
+ mds_inode_is_orphan(dchild->d_inode)))
+ CDEBUG(D_ERROR, "unlink, but return %d\n", rc);
l_dput(dchild);
l_dput(dchild);
l_dput(dparent);