diff options
author | David Howells <dhowells@redhat.com> | 2019-03-25 19:38:31 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-09-06 22:28:49 +0300 |
commit | c7eb6869632a5d33b41d0a00d683b8395392b7ee (patch) | |
tree | 2ac82cca72a9eff7e70dc3b38b34c76ed4370ecb /fs/namespace.c | |
parent | c30da2e981a703c6b1d49911511f7ade8dac20be (diff) | |
download | linux-c7eb6869632a5d33b41d0a00d683b8395392b7ee.tar.xz |
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/namespace.c')
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index d28d30b13043..105f995543f6 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2768,8 +2768,6 @@ static int do_new_mount(struct path *path, const char *fstype, int sb_flags, put_filesystem(type); return -EINVAL; } - } else { - subtype = ""; } } |