Whamcloud - gitweb
LU-3039 lfsck: misc patch for LFSCK 1.5 debts (1)
[fs/lustre-release.git] / lustre / mdd / mdd_compat.c
index fed84e3..64e3ced 100644 (file)
@@ -359,7 +359,7 @@ int mdd_compat_fixes(const struct lu_env *env, struct mdd_device *mdd)
                   LUSTRE_OSD_ZFS_NAME) != 0) {
                CERROR("%s: "DFID" is used on ldiskfs?!\n",
                       mdd2obd_dev(mdd)->obd_name, PFID(&mdd->mdd_root_fid));
-               RETURN(-ENOTSUPP);
+               GOTO(out, rc = -ENOTSUPP);
        }
 
        LCONSOLE_INFO("%s: FID of /ROOT has been changed. "