[git pull] more mount API conversions

From: Al Viro
Date: Wed Sep 18 2019 - 21:57:04 EST


Conversions to new API for shmem and friends and for mount_mtd()-using
filesystems.

As for the rest of the work.mount in -next, some of the conversions
belong in the individual trees (e.g. binderfs one should definitely go through
android folks, after getting redone on top of their changes). I'm going to
drop those and send the rest (trivial ones + stuff ACKed by maintainers) in
a separate series - by that point they are independent from each other.

Some stuff has already migrated into individual trees (NFS conversion,
for example, or FUSE stuff, etc.); those presumably will go through the
regular merges from corresponding trees.

The following changes since commit 0f071004109d9c8de7023b9a64fa2ba3fa87cbed:

mtd: Provide fs_context-aware mount_mtd() replacement (2019-09-05 14:34:23 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.mount2

for you to fetch changes up to 74983ac20aeafc88d9ceed64a8bf2a9024c488d5:

vfs: Make fs_parse() handle fs_param_is_fd-type params better (2019-09-12 21:06:14 -0400)

----------------------------------------------------------------
Al Viro (7):
devtmpfs: don't mix {ramfs,shmem}_fill_super() with mount_single()
make ramfs_fill_super() static
make shmem_fill_super() static
shmem_parse_options(): use a separate structure to keep the results
shmem_parse_options(): don't bother with mpol in separate variable
shmem_parse_options(): take handling a single option into a helper
shmem_parse_one(): switch to use of fs_parse()

David Howells (8):
vfs: Add a single-or-reconfig keying to vfs_get_super()
vfs: Convert romfs to use the new mount API
vfs: Convert cramfs to use the new mount API
vfs: Convert jffs2 to use the new mount API
mtd: Kill mount_mtd()
vfs: Convert squashfs to use the new mount API
vfs: Convert ramfs, shmem, tmpfs, devtmpfs, rootfs to use the new mount API
vfs: Make fs_parse() handle fs_param_is_fd-type params better

drivers/base/devtmpfs.c | 38 +++--
drivers/mtd/mtdsuper.c | 189 ----------------------
fs/cramfs/inode.c | 69 ++++----
fs/fs_parser.c | 18 ++-
fs/jffs2/fs.c | 21 +--
fs/jffs2/os-linux.h | 4 +-
fs/jffs2/super.c | 172 ++++++++++----------
fs/ramfs/inode.c | 99 +++++++-----
fs/romfs/super.c | 46 +++---
fs/squashfs/super.c | 100 ++++++------
fs/super.c | 35 ++++-
include/linux/fs_context.h | 4 +
include/linux/mtd/super.h | 3 -
include/linux/ramfs.h | 6 +-
include/linux/shmem_fs.h | 3 +-
init/do_mounts.c | 11 +-
mm/shmem.c | 385 +++++++++++++++++++++++++++++----------------
17 files changed, 609 insertions(+), 594 deletions(-)