summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-08-02 17:41:27 +0200
committerChristian Brauner <brauner@kernel.org>2023-08-11 13:15:03 +0200
commit7ecd0b6f510005e120f5bc198bacb5951814cf36 (patch)
tree397de44b9b67b1bee3e22fdc98926224ccfae74d /fs/super.c
parentfs: stop using get_super in fs_mark_dead (diff)
downloadlinux-7ecd0b6f510005e120f5bc198bacb5951814cf36.tar.xz
linux-7ecd0b6f510005e120f5bc198bacb5951814cf36.zip
fs: export fs_holder_ops
Export fs_holder_ops so that file systems that open additional block devices can use it as well. 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-9-hch@lst.de> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c
index 9cf7fc67727b..f72a1112a31b 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -1244,9 +1244,10 @@ static void fs_mark_dead(struct block_device *bdev)
up_read(&sb->s_umount);
}
-static const struct blk_holder_ops fs_holder_ops = {
+const struct blk_holder_ops fs_holder_ops = {
.mark_dead = fs_mark_dead,
};
+EXPORT_SYMBOL_GPL(fs_holder_ops);
static int set_bdev_super(struct super_block *s, void *data)
{