diff options
author | Christoph Hellwig <hch@lst.de> | 2023-08-01 19:21:56 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-08-02 17:13:09 +0200 |
commit | 4a8b719f95c0dcd15fb7a04b806ad8139fa7c850 (patch) | |
tree | fc3f13d3b4081bcbc17b96d64c6f656853244d39 /fs/internal.h | |
parent | Merge tag 'md-next-20230729' of https://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
download | linux-4a8b719f95c0dcd15fb7a04b806ad8139fa7c850.tar.xz linux-4a8b719f95c0dcd15fb7a04b806ad8139fa7c850.zip |
fs: remove emergency_thaw_bdev
Fold emergency_thaw_bdev into it's only caller, to prepare for buffer.c
to be built only when buffer_head support is enabled.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20230801172201.1923299-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/internal.h b/fs/internal.h index f7a3dc111026..d538d832fd60 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -23,16 +23,10 @@ struct mnt_idmap; */ #ifdef CONFIG_BLOCK extern void __init bdev_cache_init(void); - -void emergency_thaw_bdev(struct super_block *sb); #else static inline void bdev_cache_init(void) { } -static inline int emergency_thaw_bdev(struct super_block *sb) -{ - return 0; -} #endif /* CONFIG_BLOCK */ /* |