]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: reject the 'data_err=abort' option in nojournal mode
authorBaokun Li <libaokun1@huawei.com>
Wed, 22 Jan 2025 11:05:27 +0000 (19:05 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 13 Mar 2025 14:08:08 +0000 (10:08 -0400)
commit26343ca0df715097065b02a6cddb4a029d5b9327
treecc3df33de25c01e9858f430681e69260303660b6
parente856f93e0fb249955f7d5efb18fe20500a9ccc6d
ext4: reject the 'data_err=abort' option in nojournal mode

data_err=abort aborts the journal on I/O errors. However, this option is
meaningless if journal is disabled, so it is rejected in nojournal mode
to reduce unnecessary checks. Also, this option is ignored upon remount.

Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20250122110533.4116662-4-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c