diff options
author | Baokun Li <libaokun1@huawei.com> | 2025-01-22 19:41:27 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2025-03-13 10:16:34 -0400 |
commit | 5bc27f4d73d3dadc5c71fb47ea741d31d92f41b1 (patch) | |
tree | 1c146e6092c2b19dd814e308070aa025ad0f0681 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0a1b2f5ea98764221ccc1043b8dc27a8c0225476 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions