diff options
Diffstat (limited to 'fs/reiserfs/reiserfs.h')
-rw-r--r-- | fs/reiserfs/reiserfs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/reiserfs/reiserfs.h b/fs/reiserfs/reiserfs.h index 735c2c2b4536..1894d96ccb7c 100644 --- a/fs/reiserfs/reiserfs.h +++ b/fs/reiserfs/reiserfs.h | |||
@@ -506,6 +506,9 @@ typedef struct reiserfs_proc_info_data { | |||
506 | } reiserfs_proc_info_data_t; | 506 | } reiserfs_proc_info_data_t; |
507 | #endif | 507 | #endif |
508 | 508 | ||
509 | /* Number of quota types we support */ | ||
510 | #define REISERFS_MAXQUOTAS 2 | ||
511 | |||
509 | /* reiserfs union of in-core super block data */ | 512 | /* reiserfs union of in-core super block data */ |
510 | struct reiserfs_sb_info { | 513 | struct reiserfs_sb_info { |
511 | /* Buffer containing the super block */ | 514 | /* Buffer containing the super block */ |
@@ -615,7 +618,7 @@ struct reiserfs_sb_info { | |||
615 | spinlock_t old_work_lock; /* protects old_work and work_queued */ | 618 | spinlock_t old_work_lock; /* protects old_work and work_queued */ |
616 | 619 | ||
617 | #ifdef CONFIG_QUOTA | 620 | #ifdef CONFIG_QUOTA |
618 | char *s_qf_names[MAXQUOTAS]; | 621 | char *s_qf_names[REISERFS_MAXQUOTAS]; |
619 | int s_jquota_fmt; | 622 | int s_jquota_fmt; |
620 | #endif | 623 | #endif |
621 | char *s_jdev; /* Stored jdev for mount option showing */ | 624 | char *s_jdev; /* Stored jdev for mount option showing */ |