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:
59816cf
)
- probable fix for mds refcount problem. touch /mnt/lustre/f cleans up now.
author
braam
<braam>
Fri, 24 Jan 2003 19:22:23 +0000
(19:22 +0000)
committer
braam
<braam>
Fri, 24 Jan 2003 19:22:23 +0000
(19:22 +0000)
lustre/mds/mds_open.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_open.c
b/lustre/mds/mds_open.c
index
4529cf0
..
21c978a
100644
(file)
--- a/
lustre/mds/mds_open.c
+++ b/
lustre/mds/mds_open.c
@@
-171,8
+171,6
@@
int mds_open(struct mds_update_record *rec, int offset, struct ptlrpc_request *r
list_add(&mfd->mfd_list, &med->med_open_head);
spin_unlock(&med->med_open_lock);
- out_ldput:
- l_dput(dchild);
out_unlock:
l_dput(parent);
ldlm_lock_decref(&lockh, lock_mode);
@@
-188,4
+186,8
@@
int mds_open(struct mds_update_record *rec, int offset, struct ptlrpc_request *r
CDEBUG(D_INODE, "file "LPX64": addr %p, cookie "LPX64"\n",
mfd->mfd_clienthandle.addr, mfd, mfd->mfd_servercookie);
RETURN(0);
+
+ out_ldput:
+ l_dput(dchild);
+ goto out_unlock;
}