summaryrefslogtreecommitdiff
path: root/include/linux/fs_context.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-08-02 18:41:20 +0300
committerChristian Brauner <brauner@kernel.org>2023-08-10 11:34:56 +0300
commitcf6da236c27a73ab91b657232cd3841aab27c37a (patch)
treeb45e4643f399107bc05f12888b495aeb16b528cd /include/linux/fs_context.h
parentaca740cecbe57b12bd9c1fc632092af5ebacda0c (diff)
downloadlinux-cf6da236c27a73ab91b657232cd3841aab27c37a.tar.xz
fs: export setup_bdev_super
We'll want to use setup_bdev_super instead of duplicating it in nilfs2. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Christian Brauner <brauner@kernel.org> Message-Id: <20230802154131.2221419-2-hch@lst.de> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/fs_context.h')
-rw-r--r--include/linux/fs_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fs_context.h b/include/linux/fs_context.h
index ff6341e09925..58ef8433a94b 100644
--- a/include/linux/fs_context.h
+++ b/include/linux/fs_context.h
@@ -158,6 +158,8 @@ extern int get_tree_keyed(struct fs_context *fc,
struct fs_context *fc),
void *key);
+int setup_bdev_super(struct super_block *sb, int sb_flags,
+ struct fs_context *fc);
extern int get_tree_bdev(struct fs_context *fc,
int (*fill_super)(struct super_block *sb,
struct fs_context *fc));