diff options
author | 2025-01-22 19:41:27 +0800 | |
---|---|---|
committer | 2025-03-13 10:16:34 -0400 | |
commit | 5bc27f4d73d3dadc5c71fb47ea741d31d92f41b1 (patch) | |
tree | 1c146e6092c2b19dd814e308070aa025ad0f0681 /scripts/lib/kdoc/kdoc_files.py | |
parent | ext4: add ext4_emergency_state() helper function (diff) | |
download | linux-rng-5bc27f4d73d3dadc5c71fb47ea741d31d92f41b1.tar.xz linux-rng-5bc27f4d73d3dadc5c71fb47ea741d31d92f41b1.zip |
ext4: add more ext4_emergency_state() checks around sb_rdonly()
Some functions check sb_rdonly() to make sure the file system isn't
modified after it's read-only. Since we also don't want the file system
modified if it's in an emergency state (shutdown or emergency_ro),
we're adding additional ext4_emergency_state() checks where sb_rdonly()
is checked.
Suggested-by: Jan Kara <jack@suse.cz>
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/20250122114130.229709-5-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions