diff options
-rw-r--r-- | fs/gfs2/mount.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/gfs2/mount.c b/fs/gfs2/mount.c index ee69701a7777..f7e8527a21e0 100644 --- a/fs/gfs2/mount.c +++ b/fs/gfs2/mount.c | |||
@@ -36,6 +36,8 @@ enum { | |||
36 | Opt_quota_off, | 36 | Opt_quota_off, |
37 | Opt_quota_account, | 37 | Opt_quota_account, |
38 | Opt_quota_on, | 38 | Opt_quota_on, |
39 | Opt_quota, | ||
40 | Opt_noquota, | ||
39 | Opt_suiddir, | 41 | Opt_suiddir, |
40 | Opt_nosuiddir, | 42 | Opt_nosuiddir, |
41 | Opt_data_writeback, | 43 | Opt_data_writeback, |
@@ -62,6 +64,8 @@ static const match_table_t tokens = { | |||
62 | {Opt_quota_off, "quota=off"}, | 64 | {Opt_quota_off, "quota=off"}, |
63 | {Opt_quota_account, "quota=account"}, | 65 | {Opt_quota_account, "quota=account"}, |
64 | {Opt_quota_on, "quota=on"}, | 66 | {Opt_quota_on, "quota=on"}, |
67 | {Opt_quota, "quota"}, | ||
68 | {Opt_noquota, "noquota"}, | ||
65 | {Opt_suiddir, "suiddir"}, | 69 | {Opt_suiddir, "suiddir"}, |
66 | {Opt_nosuiddir, "nosuiddir"}, | 70 | {Opt_nosuiddir, "nosuiddir"}, |
67 | {Opt_data_writeback, "data=writeback"}, | 71 | {Opt_data_writeback, "data=writeback"}, |
@@ -138,12 +142,14 @@ int gfs2_mount_args(struct gfs2_sbd *sdp, struct gfs2_args *args, char *options) | |||
138 | args->ar_posix_acl = 0; | 142 | args->ar_posix_acl = 0; |
139 | break; | 143 | break; |
140 | case Opt_quota_off: | 144 | case Opt_quota_off: |
145 | case Opt_noquota: | ||
141 | args->ar_quota = GFS2_QUOTA_OFF; | 146 | args->ar_quota = GFS2_QUOTA_OFF; |
142 | break; | 147 | break; |
143 | case Opt_quota_account: | 148 | case Opt_quota_account: |
144 | args->ar_quota = GFS2_QUOTA_ACCOUNT; | 149 | args->ar_quota = GFS2_QUOTA_ACCOUNT; |
145 | break; | 150 | break; |
146 | case Opt_quota_on: | 151 | case Opt_quota_on: |
152 | case Opt_quota: | ||
147 | args->ar_quota = GFS2_QUOTA_ON; | 153 | args->ar_quota = GFS2_QUOTA_ON; |
148 | break; | 154 | break; |
149 | case Opt_suiddir: | 155 | case Opt_suiddir: |