diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-12-16 13:33:32 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-07 00:12:50 -0500 |
commit | 5eede625297f4d21dc12ea7a7418fd21672f131d (patch) | |
tree | 6827fd4b2a65834fa3014b9363d690693e21ce20 /fs/fs_parser.c | |
parent | 2710c957a8ef4fb00f21acb306e3bd6bcf80c81f (diff) | |
download | linux-5eede625297f4d21dc12ea7a7418fd21672f131d.tar.gz linux-5eede625297f4d21dc12ea7a7418fd21672f131d.tar.bz2 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/fs_parser.c')
-rw-r--r-- | fs/fs_parser.c | 4 |
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); |