summaryrefslogtreecommitdiff
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2023-12-13 04:32:24 +0300
committerTheodore Ts'o <tytso@mit.edu>2024-01-05 07:42:21 +0300
commitada3fb86a3f3aea40903d5ad9aeec708dc049b8b (patch)
tree1b20a53fb175b40fbb9742053206e487f4d1388a /fs/ext4/mballoc.c
parentb4e73e61268903d82dacff2bc6f4bb766c6ed555 (diff)
downloadlinux-ada3fb86a3f3aea40903d5ad9aeec708dc049b8b.tar.xz
ext4: move ext4_check_bdev_write_error() into nojournal mode
Since JBD2 takes care of all metadata writeback errors of fs dev, ext4_check_bdev_write_error() is useful only in nojournal mode. Move it into '!ext4_handle_valid(handle)' branch. Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Suggested-by: Jan Kara <jack@suse.cz> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20231213013224.2100050-6-chengzhihao1@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.c')
0 files changed, 0 insertions, 0 deletions