Whamcloud - gitweb
LU-2235 lfsck: remove unnecessary warning message
authorFan Yong <yong.fan@whamcloud.com>
Sat, 3 Nov 2012 02:34:40 +0000 (10:34 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 6 Nov 2012 02:39:55 +0000 (21:39 -0500)
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 <yong.fan@whamcloud.com>
Change-Id: I106a6b5c978cde8695821776570c30605f03c400
Reviewed-on: http://review.whamcloud.com/4452
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Prakash Surya <surya1@llnl.gov>
lustre/mdd/mdd_lfsck.c

index 73281ef..31a34cc 100644 (file)
@@ -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;
        }