From 9420bd13b446fccf40d61b3794ca6d29bf1648e1 Mon Sep 17 00:00:00 2001 From: tappro Date: Sat, 23 Sep 2006 19:56:42 +0000 Subject: [PATCH] - wrong parameter fix --- lustre/mdt/mdt_reint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/mdt/mdt_reint.c b/lustre/mdt/mdt_reint.c index 1b95dbf..e1d16a1 100644 --- 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) { - mdt_object_put(info, mtgtdir); + mdt_object_put(info->mti_ctxt, mtgtdir); 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) { - mdt_object_put(info, mnew); + mdt_object_put(info->mti_ctxt, mnew); GOTO(out_unlock_old, rc); } } else if (rc != -EREMOTE && rc != -ENOENT) -- 1.8.3.1