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:
c595947
)
- wrong parameter fix
author
tappro
<tappro>
Sat, 23 Sep 2006 19:56:42 +0000
(19:56 +0000)
committer
tappro
<tappro>
Sat, 23 Sep 2006 19:56:42 +0000
(19:56 +0000)
lustre/mdt/mdt_reint.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_reint.c
b/lustre/mdt/mdt_reint.c
index
1b95dbf
..
e1d16a1
100644
(file)
--- a/
lustre/mdt/mdt_reint.c
+++ b/
lustre/mdt/mdt_reint.c
@@
-660,7
+660,7
@@
static int mdt_reint_rename(struct mdt_thread_info *info,
rc = mdt_object_cr_lock(info, mtgtdir, lh_tgtdirp,
MDS_INODELOCK_UPDATE);
if (rc != 0) {
rc = mdt_object_cr_lock(info, mtgtdir, lh_tgtdirp,
MDS_INODELOCK_UPDATE);
if (rc != 0) {
- mdt_object_put(info, mtgtdir);
+ mdt_object_put(info
->mti_ctxt
, mtgtdir);
GOTO(out_unlock_source, rc);
}
GOTO(out_unlock_source, rc);
}
@@
-703,7
+703,7
@@
static int mdt_reint_rename(struct mdt_thread_info *info,
rc = mdt_object_cr_lock(info, mnew, lh_newp,
MDS_INODELOCK_FULL);
if (rc != 0) {
rc = mdt_object_cr_lock(info, mnew, lh_newp,
MDS_INODELOCK_FULL);
if (rc != 0) {
- mdt_object_put(info, mnew);
+ mdt_object_put(info
->mti_ctxt
, mnew);
GOTO(out_unlock_old, rc);
}
} else if (rc != -EREMOTE && rc != -ENOENT)
GOTO(out_unlock_old, rc);
}
} else if (rc != -EREMOTE && rc != -ENOENT)