]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: Add a single-or-reconfig keying to vfs_get_super()
authorDavid Howells <dhowells@redhat.com>
Thu, 21 Mar 2019 09:22:36 +0000 (09:22 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 5 Sep 2019 18:34:23 +0000 (14:34 -0400)
commitdcf2ce05492d3e8966bf0905fc2f6c0dd8b580d4
treee3bc42b51b6c0ca84b4a7c99f676999ed0bf892f
parent80d74836809309cf615c18b0b750a240fe315647
vfs: Add a single-or-reconfig keying to vfs_get_super()

Add an additional keying mode to vfs_get_super() to indicate that only a
single superblock should exist in the system, and that, if it does, further
mounts should invoke reconfiguration upon it.

This allows mount_single() to be replaced.

[Fix by Eric Biggers folded in]

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/super.c
include/linux/fs_context.h