From 82297027514416985a5557cfe154e174014804ba Mon Sep 17 00:00:00 2001 From: Fan Yong Date: Sat, 3 Nov 2012 10:34:40 +0800 Subject: [PATCH] LU-2235 lfsck: remove unnecessary warning message Currently, the new online LFSCK does not work for ZFS backend, but it is neither fatal nor block the mount processing. So remove those unnecessary warning message. Signed-off-by: Fan Yong Change-Id: I106a6b5c978cde8695821776570c30605f03c400 Reviewed-on: http://review.whamcloud.com/4452 Tested-by: Hudson Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Prakash Surya --- lustre/mdd/mdd_lfsck.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lustre/mdd/mdd_lfsck.c b/lustre/mdd/mdd_lfsck.c index 73281ef..31a34cc 100644 --- a/lustre/mdd/mdd_lfsck.c +++ b/lustre/mdd/mdd_lfsck.c @@ -318,11 +318,8 @@ int mdd_lfsck_setup(const struct lu_env *env, struct mdd_device *mdd) rc = obj->do_ops->do_index_try(env, obj, &dt_otable_features); if (rc != 0) { lu_object_put(env, &obj->do_lu); - if (rc == -ENOTSUPP) { - CERROR("%s: Lustre LFSCK unsupported on this device.\n", - mdd2obd_dev(mdd)->obd_name); + if (rc == -ENOTSUPP) rc = 0; - } return rc; } -- 1.8.3.1