diff options
author | Jeremy Cline <jcline@redhat.com> | 2018-07-30 21:37:30 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-08-22 12:17:29 -0400 |
commit | 64d9d13828c6c8e188bba63794eee923df3d69a9 (patch) | |
tree | cb5b0cde19e77207113d253a6737c7951706b1df /include/linux/quota.h | |
parent | 09a4e0be5826aa66c4ce9954841f110ffe63ef4f (diff) |
fs/quota: Replace XQM_MAXQUOTAS usage with MAXQUOTAS
XQM_MAXQUOTAS and MAXQUOTAS are, it appears, equivalent. Replace all
usage of XQM_MAXQUOTAS and remove it along with the unused XQM_*QUOTA
definitions.
Signed-off-by: Jeremy Cline <jcline@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/quota.h')
-rw-r--r-- | include/linux/quota.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index ca9772c8e48b..f32dd270b8e3 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h | |||
@@ -408,13 +408,7 @@ struct qc_type_state { | |||
408 | 408 | ||
409 | struct qc_state { | 409 | struct qc_state { |
410 | unsigned int s_incoredqs; /* Number of dquots in core */ | 410 | unsigned int s_incoredqs; /* Number of dquots in core */ |
411 | /* | 411 | struct qc_type_state s_state[MAXQUOTAS]; /* Per quota type information */ |
412 | * Per quota type information. The array should really have | ||
413 | * max(MAXQUOTAS, XQM_MAXQUOTAS) entries. BUILD_BUG_ON in | ||
414 | * quota_getinfo() makes sure XQM_MAXQUOTAS is large enough. Once VFS | ||
415 | * supports project quotas, this can be changed to MAXQUOTAS | ||
416 | */ | ||
417 | struct qc_type_state s_state[XQM_MAXQUOTAS]; | ||
418 | }; | 412 | }; |
419 | 413 | ||
420 | /* Structure for communicating via ->set_info */ | 414 | /* Structure for communicating via ->set_info */ |