From cae87fca0a1656487786186e8c96ffdac2e3e45a Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Wed, 3 Dec 2014 08:19:26 -0800 Subject: [PATCH] LU-5973 ofd: fix bad error message A CERROR in ofd_destroy() was printing the wrong return value. This mod fixes that, uses the correct value. Signed-off-by: Bob Glossman Change-Id: Iedc21f2544bdb69e02ec787c059b5ad21d12786b Reviewed-on: http://review.whamcloud.com/12921 Tested-by: Jenkins Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu Tested-by: Maloo Reviewed-by: Nathaniel Clark Reviewed-by: Oleg Drokin --- lustre/ofd/ofd_obd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ofd/ofd_obd.c b/lustre/ofd/ofd_obd.c index f4844b7..6454ca9 100644 --- a/lustre/ofd/ofd_obd.c +++ b/lustre/ofd/ofd_obd.c @@ -1093,7 +1093,7 @@ int ofd_destroy(const struct lu_env *env, struct obd_export *exp, } else if (lrc != 0) { CERROR("%s: error destroying object "DFID": %d\n", ofd_obd(ofd)->obd_name, PFID(&info->fti_fid), - rc); + lrc); rc = lrc; } count--; -- 1.8.3.1