summaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-12-16 19:33:32 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2020-02-07 06:12:50 +0100
commit5eede625297f4d21dc12ea7a7418fd21672f131d (patch)
tree6827fd4b2a65834fa3014b9363d690693e21ce20 /fs/gfs2
parentfs_parse: get rid of ->enums (diff)
downloadlinux-5eede625297f4d21dc12ea7a7418fd21672f131d.tar.xz
linux-5eede625297f4d21dc12ea7a7418fd21672f131d.zip
fold struct fs_parameter_enum into struct constant_table
no real difference now Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/ops_fstype.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index 0df8f2df9491..16230e496fdb 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -1271,7 +1271,7 @@ enum opt_quota {
Opt_quota_on,
};
-static const struct fs_parameter_enum gfs2_param_quota[] = {
+static const struct constant_table gfs2_param_quota[] = {
{"off", Opt_quota_off },
{"account", Opt_quota_account },
{"on", Opt_quota_on },
@@ -1289,7 +1289,7 @@ enum opt_data {
Opt_data_ordered = GFS2_DATA_ORDERED,
};
-static const struct fs_parameter_enum gfs2_param_data[] = {
+static const struct constant_table gfs2_param_data[] = {
{"writeback", Opt_data_writeback },
{"ordered", Opt_data_ordered },
{}
@@ -1300,7 +1300,7 @@ enum opt_errors {
Opt_errors_panic = GFS2_ERRORS_PANIC,
};
-static const struct fs_parameter_enum gfs2_param_errors[] = {
+static const struct constant_table gfs2_param_errors[] = {
{"withdraw", Opt_errors_withdraw },
{"panic", Opt_errors_panic },
{}