aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorBaokun Li <[email protected]>2025-01-22 11:41:25 +0000
committerTheodore Ts'o <[email protected]>2025-03-13 14:16:34 +0000
commitf3054e53c2f367bd3cf6535afe9ab13198d2d739 (patch)
tree59de17d65da4dbf04a25f4c9fdf688d70544fa8f /fs/jbd2/commit.c
parentext4: convert EXT4_FLAGS_* defines to enum (diff)
downloadkernel-f3054e53c2f367bd3cf6535afe9ab13198d2d739.tar.gz
kernel-f3054e53c2f367bd3cf6535afe9ab13198d2d739.zip
ext4: add EXT4_FLAGS_EMERGENCY_RO bit
EXT4_FLAGS_EMERGENCY_RO Indicates that the current file system has become read-only due to some error. Compared to SB_RDONLY, setting it does not require a lock because we won't clear it, which avoids over-coupling with vfs freeze. Also, add a helper function ext4_emergency_ro() to check if the bit is set. Signed-off-by: Baokun Li <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Zhang Yi <[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