Whamcloud - gitweb
LU-4217 build: bump build version warnings to x.y.53
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_quota.c
index a56f890..8513bfa 100644 (file)
@@ -607,11 +607,10 @@ int osd_declare_inode_qid(const struct lu_env *env, qid_t uid, qid_t gid,
        RETURN(rcu ? rcu : rcg);
 }
 
+#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 7, 53, 0)
 /* Following code is used to migrate old admin quota files (in Linux quota
  * file v2 format) into the new quota global indexes (in IAM format). */
 
-#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2,7,50,0)
-
 /* copied from osd_it_acct_get(), only changed the 'type' to -1 */
 static int osd_it_admin_get(const struct lu_env *env, struct dt_it *di,
                            const struct dt_key *key)
@@ -1117,6 +1116,4 @@ out:
 
        RETURN(rc);
 }
-#else
-#warning "remove old quota compatibility code"
-#endif
+#endif /* LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 7, 53, 0) */