X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fquota%2Fqsd_internal.h;h=9b1d6b27fbf0d17e1e753bd52af0a869604754fa;hb=743f742874bfdf845a2f64c3d65081ea23740138;hp=518c525afa6c37114a086050494c719dfd11ac6b;hpb=736ffdc4d6975aaeac83019dd2a88100f4e3d028;p=fs%2Flustre-release.git diff --git a/lustre/quota/qsd_internal.h b/lustre/quota/qsd_internal.h index 518c525..9b1d6b2 100644 --- a/lustre/quota/qsd_internal.h +++ b/lustre/quota/qsd_internal.h @@ -21,7 +21,7 @@ * GPL HEADER END */ /* - * Copyright (c) 2012, 2013, Intel Corporation. + * Copyright (c) 2012, 2014, Intel Corporation. * Use is subject to license terms. */ @@ -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;