summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ioctl.c
diff options
context:
space:
mode:
authorYe Bin <yebin10@huawei.com>2023-03-07 07:17:03 +0100
committerTheodore Ts'o <tytso@mit.edu>2023-03-11 06:44:24 +0100
commitf57886ca1606ba74cc4ec4eb5cbf073934ffa559 (patch)
tree7cd3d1dd01579dc114a009b256e7fd8733eb9977 /fs/ext4/ioctl.c
parentext4: commit super block if fs record error when journal record without error (diff)
downloadlinux-f57886ca1606ba74cc4ec4eb5cbf073934ffa559.tar.xz
linux-f57886ca1606ba74cc4ec4eb5cbf073934ffa559.zip
ext4: make sure fs error flag setted before clear journal error
Now, jounral error number maybe cleared even though ext4_commit_super() failed. This may lead to error flag miss, then fsck will miss to check file system deeply. Signed-off-by: Ye Bin <yebin10@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20230307061703.245965-3-yebin@huaweicloud.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions