diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-06-16 16:08:32 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-06-29 10:31:53 +0200 |
| commit | 41fda7804af4931df056f74f91661edf7f696777 (patch) | |
| tree | 2757a376438ab254e2e688ccfb26b5481edad9e5 /include | |
| parent | 03d0c37ccf5e587a9c6ca7c4fc8916b42d0ab200 (diff) | |
| download | linux-next-41fda7804af4931df056f74f91661edf7f696777.tar.gz linux-next-41fda7804af4931df056f74f91661edf7f696777.zip | |
super: make fs_holder_ops private
Now that filesystems open and claim their block devices through
fs_bdev_file_open_by_{dev,path}(), nothing outside fs/super.c references
fs_holder_ops. Make it static and drop its declaration from blkdev.h.
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260616-work-super-bdev_holder_global-v2-16-7df6b864028e@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/blkdev.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 9e395d95067e..dbb549cdfb77 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1769,13 +1769,6 @@ struct blk_holder_ops { }; /* - * For filesystems using @fs_holder_ops, the @holder argument passed to - * helpers used to open and claim block devices via - * bd_prepare_to_claim() must point to a superblock. - */ -extern const struct blk_holder_ops fs_holder_ops; - -/* * Return the correct open flags for blkdev_get_by_* for super block flags * as stored in sb->s_flags. */ |
