diff options
author | Christoph Hellwig <hch@lst.de> | 2022-10-31 13:46:26 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-11-25 06:52:19 +0100 |
commit | cda2ed05aade303b7d89844a0333168c3484634a (patch) | |
tree | 8c8b7475ed857f7d24740e5cc07669650cc3ec8f /Documentation/filesystems/mount_api.rst | |
parent | fs: drop useless condition from inode_needs_update_time (diff) | |
download | linux-cda2ed05aade303b7d89844a0333168c3484634a.tar.xz linux-cda2ed05aade303b7d89844a0333168c3484634a.zip |
fs: simplify vfs_get_super
Remove the pointless keying argument and associated enum and pass the
fill_super callback and a "bool reconf" instead. Also mark the function
static given that there are no users outside of super.c.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems/mount_api.rst')
-rw-r--r-- | Documentation/filesystems/mount_api.rst | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Documentation/filesystems/mount_api.rst b/Documentation/filesystems/mount_api.rst index eb358a00be27..6114daf33797 100644 --- a/Documentation/filesystems/mount_api.rst +++ b/Documentation/filesystems/mount_api.rst @@ -562,17 +562,6 @@ or looking up of superblocks. The following helpers all wrap sget_fc(): - * :: - - int vfs_get_super(struct fs_context *fc, - enum vfs_get_super_keying keying, - int (*fill_super)(struct super_block *sb, - struct fs_context *fc)) - - This creates/looks up a deviceless superblock. The keying indicates how - many superblocks of this type may exist and in what manner they may be - shared: - (1) vfs_get_single_super Only one such superblock may exist in the system. Any further |