From: Fan Yong Date: Sat, 3 Nov 2012 02:34:40 +0000 (+0800) Subject: LU-2235 lfsck: remove unnecessary warning message X-Git-Tag: 2.3.55~31 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=82297027514416985a5557cfe154e174014804ba;p=fs%2Flustre-release.git 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 --- 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; }