aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorZhihao Cheng <[email protected]>2023-12-13 01:32:24 +0000
committerTheodore Ts'o <[email protected]>2024-01-05 04:42:21 +0000
commitada3fb86a3f3aea40903d5ad9aeec708dc049b8b (patch)
tree1b20a53fb175b40fbb9742053206e487f4d1388a /security/selinux/hooks.c
parentjbd2: abort journal when detecting metadata writeback error of fs dev (diff)
downloadkernel-ada3fb86a3f3aea40903d5ad9aeec708dc049b8b.tar.gz
kernel-ada3fb86a3f3aea40903d5ad9aeec708dc049b8b.zip
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 <[email protected]> Suggested-by: Jan Kara <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions