summaryrefslogtreecommitdiff
path: root/fs/fs_parser.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-12-16 13:33:32 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2020-02-07 00:12:50 -0500
commit5eede625297f4d21dc12ea7a7418fd21672f131d (patch)
tree6827fd4b2a65834fa3014b9363d690693e21ce20 /fs/fs_parser.c
parent2710c957a8ef4fb00f21acb306e3bd6bcf80c81f (diff)
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/fs_parser.c')
-rw-r--r--fs/fs_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fs_parser.c b/fs/fs_parser.c
index 34275191697f..d032ac4a758d 100644
--- a/fs/fs_parser.c
+++ b/fs/fs_parser.c
@@ -82,7 +82,7 @@ int fs_parse(struct fs_context *fc,
struct fs_parse_result *result)
{
const struct fs_parameter_spec *p;
- const struct fs_parameter_enum *e;
+ const struct constant_table *e;
int ret = -ENOPARAM, b;
result->negated = false;
@@ -380,7 +380,7 @@ bool fs_validate_description(const struct fs_parameter_description *desc)
name, param->name, t);
good = false;
} else if (t == fs_param_is_enum) {
- const struct fs_parameter_enum *e = param->data;
+ const struct constant_table *e = param->data;
if (!e || !e->name) {
pr_err("VALIDATE %s: PARAM[%s] enum with no values\n",
name, param->name);