diff options
author | David Howells <dhowells@redhat.com> | 2019-03-25 17:38:31 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-09-06 21:28:49 +0200 |
commit | c7eb6869632a5d33b41d0a00d683b8395392b7ee (patch) | |
tree | 2ac82cca72a9eff7e70dc3b38b34c76ed4370ecb /fs/namespace.c | |
parent | fuse: convert to use the new mount API (diff) | |
download | linux-c7eb6869632a5d33b41d0a00d683b8395392b7ee.tar.xz linux-c7eb6869632a5d33b41d0a00d683b8395392b7ee.zip |
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 = ""; } } |