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:
2c9a357
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Mon, 31 Jul 2006 19:10:00 +0000
(19:10 +0000)
committer
wangdi
<wangdi>
Mon, 31 Jul 2006 19:10:00 +0000
(19:10 +0000)
fix stupid type in mdd_rename_unlock
lustre/mdd/mdd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_handler.c
b/lustre/mdd/mdd_handler.c
index
47f3295
..
464a207
100644
(file)
--- a/
lustre/mdd/mdd_handler.c
+++ b/
lustre/mdd/mdd_handler.c
@@
-787,7
+787,7
@@
static void mdd_rename_unlock(const struct lu_context *ctxt,
{
mdd_unlock(ctxt, src_pobj, DT_WRITE_LOCK);
if (src_pobj != tgt_pobj)
- mdd_unlock(ctxt,
src
_pobj, DT_WRITE_LOCK);
+ mdd_unlock(ctxt,
tgt
_pobj, DT_WRITE_LOCK);
}
static int mdd_rename(const struct lu_context *ctxt, struct md_object *src_pobj,