diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2019-12-06 10:45:01 -0600 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-07 14:48:36 -0500 |
commit | 96cafb9ccb153f6a82ff2c9bde68916d9d65501e (patch) | |
tree | 80cd952c6140a5b61bdf69531849db2413f26c4a /fs/fs_parser.c | |
parent | cc3c0b533ab9142eac2e291628fbfca3685f38cd (diff) | |
download | lwn-96cafb9ccb153f6a82ff2c9bde68916d9d65501e.tar.gz lwn-96cafb9ccb153f6a82ff2c9bde68916d9d65501e.zip |
fs_parser: remove fs_parameter_description name field
Unused now.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fs_parser.c')
-rw-r--r-- | fs/fs_parser.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/fs/fs_parser.c b/fs/fs_parser.c index 4c410eef0173..3ed1e49d8267 100644 --- a/fs/fs_parser.c +++ b/fs/fs_parser.c @@ -354,20 +354,14 @@ bool validate_constant_table(const struct constant_table *tbl, size_t tbl_size, * fs_validate_description - Validate a parameter description * @desc: The parameter description to validate. */ -bool fs_validate_description(const struct fs_parameter_description *desc) +bool fs_validate_description(const char *name, + const struct fs_parameter_description *desc) { const struct fs_parameter_spec *param, *p2; - const char *name = desc->name; bool good = true; pr_notice("*** VALIDATE %s ***\n", name); - if (!name[0]) { - pr_err("VALIDATE Parser: No name\n"); - name = "Unknown"; - good = false; - } - if (desc->specs) { for (param = desc->specs; param->name; param++) { enum fs_parameter_type t = param->type; |