reiserfs: Don't use MAXQUOTAS value
[deliverable/linux.git] / fs / reiserfs / reiserfs.h
index 735c2c2b4536b0546e728b38cf663e310b3ac45c..1894d96ccb7c936b4cbe753564c01d3589a125a7 100644 (file)
@@ -506,6 +506,9 @@ typedef struct reiserfs_proc_info_data {
 } reiserfs_proc_info_data_t;
 #endif
 
+/* Number of quota types we support */
+#define REISERFS_MAXQUOTAS 2
+
 /* reiserfs union of in-core super block data */
 struct reiserfs_sb_info {
        /* Buffer containing the super block */
@@ -615,7 +618,7 @@ struct reiserfs_sb_info {
        spinlock_t old_work_lock;     /* protects old_work and work_queued */
 
 #ifdef CONFIG_QUOTA
-       char *s_qf_names[MAXQUOTAS];
+       char *s_qf_names[REISERFS_MAXQUOTAS];
        int s_jquota_fmt;
 #endif
        char *s_jdev;           /* Stored jdev for mount option showing */
This page took 0.0293 seconds and 5 git commands to generate.