diff options
author | David Howells <dhowells@redhat.com> | 2019-03-25 16:38:31 +0000 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-09-06 21:28:49 +0200 |
commit | c7eb6869632a5d33b41d0a00d683b8395392b7ee (patch) | |
tree | 2ac82cca72a9eff7e70dc3b38b34c76ed4370ecb /fs/fuse/inode.c | |
parent | c30da2e981a703c6b1d49911511f7ade8dac20be (diff) | |
download | linux-c7eb6869632a5d33b41d0a00d683b8395392b7ee.tar.bz2 |
vfs: subtype handling moved to fuse
The unused vfs code can be removed. Don't pass empty subtype (same as if
->parse callback isn't called).
The bits that are left involve determining whether it's permitted to split the
filesystem type string passed in to mount(2). Consequently, this means that we
cannot get rid of the FS_HAS_SUBTYPE flag unless we define that a type string
with a dot in it always indicates a subtype specification.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r-- | fs/fuse/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index c334f95e799a..2183967261a4 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -473,8 +473,7 @@ static const struct fs_parameter_spec fuse_param_specs[] = { fsparam_flag ("allow_other", OPT_ALLOW_OTHER), fsparam_u32 ("max_read", OPT_MAX_READ), fsparam_u32 ("blksize", OPT_BLKSIZE), - __fsparam(fs_param_is_string, "subtype", OPT_SUBTYPE, - fs_param_v_optional), + fsparam_string ("subtype", OPT_SUBTYPE), {} }; |