diff options
author | David Howells <dhowells@redhat.com> | 2019-03-25 17:38:31 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-13 03:05:34 +0200 |
commit | f32356261d44d580649a7abce1156d15d49cf20f (patch) | |
tree | 140effa4ef1e1ff107ec8028d7c55862191264e6 /fs/fs_parser.c | |
parent | shmem_parse_one(): switch to use of fs_parse() (diff) | |
download | linux-f32356261d44d580649a7abce1156d15d49cf20f.tar.xz linux-f32356261d44d580649a7abce1156d15d49cf20f.zip |
vfs: Convert ramfs, shmem, tmpfs, devtmpfs, rootfs to use the new mount API
Convert the ramfs, shmem, tmpfs, devtmpfs and rootfs filesystems to the new
internal mount API as the old one will be obsoleted and removed. This
allows greater flexibility in communication of mount parameters between
userspace, the VFS and the filesystem.
See Documentation/filesystems/mount_api.txt for more information.
Note that tmpfs is slightly tricky as it can contain embedded commas, so it
can't be trivially split up using strsep() to break on commas in
generic_parse_monolithic(). Instead, tmpfs has to supply its own generic
parser.
However, if tmpfs changes, then devtmpfs and rootfs, which are wrappers
around tmpfs or ramfs, must change too - and thus so must ramfs, so these
had to be converted also.
[AV: rewritten]
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Hugh Dickins <hughd@google.com>
cc: linux-mm@kvack.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fs_parser.c')
0 files changed, 0 insertions, 0 deletions