diff options
author | Ye Bin <yebin10@huawei.com> | 2023-03-07 07:17:03 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-03-11 06:44:24 +0100 |
commit | f57886ca1606ba74cc4ec4eb5cbf073934ffa559 (patch) | |
tree | 7cd3d1dd01579dc114a009b256e7fd8733eb9977 /fs/ext4/ioctl.c | |
parent | ext4: commit super block if fs record error when journal record without error (diff) | |
download | linux-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