Whamcloud - gitweb
LU-6617 quota: remove quota migration code
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_handler.c
index 1815db2..669033f 100644 (file)
@@ -3143,9 +3143,9 @@ static int osd_index_try(const struct lu_env *env, struct dt_object *dt,
         }
         LINVRNT(osd_invariant(obj));
 
-       if (result == 0 && is_quota_glb_feat(feat) &&
+       if (result == 0 && feat == &dt_quota_glb_features &&
            fid_seq(lu_object_fid(&dt->do_lu)) == FID_SEQ_QUOTA_GLB)
-               result = osd_quota_migration(env, dt, feat);
+               result = osd_quota_migration(env, dt);
 
         return result;
 }