From: Mikhail Pershin Date: Tue, 9 Oct 2012 06:40:43 +0000 (+0400) Subject: LU-2102 llog: wrong handle was used for changelog processing X-Git-Tag: 2.3.54~67 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=23ac4ff2cc08ed856fc15b5cc837569fa7a45b9e;ds=sidebyside LU-2102 llog: wrong handle was used for changelog processing - Wrong llog handle was passed tp changelog_user_init_cb() for processing Signed-off-by: Mikhail Pershin Change-Id: I3656829e283232ff8c17829e18df68b320e26f2f Reviewed-on: http://review.whamcloud.com/4229 Reviewed-by: Alex Zhuravlev Tested-by: Hudson Tested-by: Maloo Reviewed-by: Andreas Dilger --- diff --git a/lustre/mdd/mdd_device.c b/lustre/mdd/mdd_device.c index af403b0..647ee7a 100644 --- a/lustre/mdd/mdd_device.c +++ b/lustre/mdd/mdd_device.c @@ -364,7 +364,7 @@ static int mdd_changelog_llog_init(const struct lu_env *env, if (rc) GOTO(out_uclose, rc); - rc = llog_cat_reverse_process(env, ctxt->loc_handle, + rc = llog_cat_reverse_process(env, uctxt->loc_handle, changelog_user_init_cb, mdd); if (rc < 0) { CERROR("%s: changelog user init failed: rc = %d\n",