]> Git Repo - linux.git/commit - fs/ramfs/inode.c
vfs: Convert ramfs, shmem, tmpfs, devtmpfs, rootfs to use the new mount API
authorDavid Howells <[email protected]>
Mon, 25 Mar 2019 16:38:31 +0000 (16:38 +0000)
committerAl Viro <[email protected]>
Fri, 13 Sep 2019 01:05:34 +0000 (21:05 -0400)
commitf32356261d44d580649a7abce1156d15d49cf20f
tree140effa4ef1e1ff107ec8028d7c55862191264e6
parent626c3920aeb4575f53c96b0d4ad4e651a21cbb66
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 <[email protected]>
cc: Hugh Dickins <[email protected]>
cc: [email protected]
Signed-off-by: Al Viro <[email protected]>
drivers/base/devtmpfs.c
fs/ramfs/inode.c
include/linux/ramfs.h
include/linux/shmem_fs.h
init/do_mounts.c
mm/shmem.c
This page took 0.05724 seconds and 4 git commands to generate.