X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fquota%2Fqsd_internal.h;fp=lustre%2Fquota%2Fqsd_internal.h;h=9b1d6b27fbf0d17e1e753bd52af0a869604754fa;hb=5522990660248930108e84c89bc7e5807bda9ea0;hp=94cb04f25fc5f37c5d433f93f55ba8d965253cc1;hpb=66430ae381add9095d421887a4cf63fbe7f71407;p=fs%2Flustre-release.git diff --git a/lustre/quota/qsd_internal.h b/lustre/quota/qsd_internal.h index 94cb04f..9b1d6b2 100644 --- a/lustre/quota/qsd_internal.h +++ b/lustre/quota/qsd_internal.h @@ -70,7 +70,7 @@ struct qsd_instance { * * This will have to be revisited if new quota types are added in the * future. For the time being, we can just use an array. */ - struct qsd_qtype_info *qsd_type_array[MAXQUOTAS]; + struct qsd_qtype_info *qsd_type_array[LL_MAXQUOTAS]; /* per-filesystem quota information */ struct qsd_fsinfo *qsd_fsinfo; @@ -277,7 +277,7 @@ static inline int qsd_type_enabled(struct qsd_instance *qsd, int type) int enabled, pool; LASSERT(qsd != NULL); - LASSERT(type < MAXQUOTAS); + LASSERT(type < LL_MAXQUOTAS); if (qsd->qsd_fsinfo == NULL) return 0;