summaryrefslogtreecommitdiff
path: root/fs/filesystems.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2019-12-06 10:45:01 -0600
committerAl Viro <viro@zeniv.linux.org.uk>2020-02-07 14:48:36 -0500
commit96cafb9ccb153f6a82ff2c9bde68916d9d65501e (patch)
tree80cd952c6140a5b61bdf69531849db2413f26c4a /fs/filesystems.c
parentcc3c0b533ab9142eac2e291628fbfca3685f38cd (diff)
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/filesystems.c')
-rw-r--r--fs/filesystems.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/filesystems.c b/fs/filesystems.c
index 9135646e41ac..77bf5f95362d 100644
--- a/fs/filesystems.c
+++ b/fs/filesystems.c
@@ -74,7 +74,8 @@ int register_filesystem(struct file_system_type * fs)
int res = 0;
struct file_system_type ** p;
- if (fs->parameters && !fs_validate_description(fs->parameters))
+ if (fs->parameters &&
+ !fs_validate_description(fs->name, fs->parameters))
return -EINVAL;
BUG_ON(strchr(fs->name, '.'));