aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorBaokun Li <[email protected]>2025-01-22 11:41:27 +0000
committerTheodore Ts'o <[email protected]>2025-03-13 14:16:34 +0000
commit5bc27f4d73d3dadc5c71fb47ea741d31d92f41b1 (patch)
tree1c146e6092c2b19dd814e308070aa025ad0f0681 /fs/jbd2/commit.c
parentext4: add ext4_emergency_state() helper function (diff)
downloadkernel-5bc27f4d73d3dadc5c71fb47ea741d31d92f41b1.tar.gz
kernel-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 <[email protected]> Signed-off-by: Baokun Li <[email protected]> Reviewed-by: Zhang Yi <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions