summaryrefslogtreecommitdiff
path: root/fs/jbd2
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2023-06-16 19:50:53 +0300
committerTheodore Ts'o <tytso@mit.edu>2023-07-30 01:37:53 +0300
commite7fc2b31e04c46c9e2098bba710c9951c6b968af (patch)
treea497e5bb9c3b26ab9c2fd1827681e4992bc526fa /fs/jbd2
parente0e985f3f8941438a66ab8abb94cb011b9fb39a7 (diff)
downloadlinux-e7fc2b31e04c46c9e2098bba710c9951c6b968af.tar.xz
ext4: warn on read-only filesystem in ext4_journal_check_start()
Now that filesystem abort marks the filesystem as shutdown, we shouldn't be ever hitting the sb_rdonly() check in ext4_journal_check_start(). Since this is a suitable place for catching all sorts of programming errors, convert the check to WARN_ON instead of dropping it. Signed-off-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20230616165109.21695-7-jack@suse.cz Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions