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:
c2b40b6
)
r=alex
author
tappro
<tappro>
Mon, 5 Sep 2005 15:44:26 +0000
(15:44 +0000)
committer
tappro
<tappro>
Mon, 5 Sep 2005 15:44:26 +0000
(15:44 +0000)
dparent can be valid not only if resent_req == 0
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
192e00b
..
8cdddeb
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-1708,9
+1708,10
@@
static int mds_getattr_lock(struct ptlrpc_request *req, int offset,
if (parent_lockh[1].cookie != 0)
ldlm_lock_decref(parent_lockh + 1, update_mode);
#endif
- if (dparent)
- l_dput(dparent);
}
+ if (dparent)
+ l_dput(dparent);
+
l_dput(dchild);
case 1:
pop_ctxt(&saved, &obd->obd_lvfs_ctxt, &uc);