fs: use the super_block as holder when mounting file systems
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Aug 2023 15:41:25 +0000 (17:41 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 11 Aug 2023 11:15:03 +0000 (13:15 +0200)
commit2ea6f68932f73a6a9d82160d3ad0a49a5a6bb183
tree2394448c1d778f2d9ce305be845d125513d08b27
parent4b41828be268544286794c18200e83861de3554e
fs: use the super_block as holder when mounting file systems

The file system type is not a very useful holder as it doesn't allow us
to go back to the actual file system instance.  Pass the super_block instead
which is useful when passed back to the file system driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Message-Id: <20230802154131.2221419-7-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/cramfs/inode.c
fs/f2fs/super.c
fs/romfs/super.c
fs/super.c
fs/xfs/xfs_buf.c