Commit f57886c
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.com1 parent eee0023 commit f57886c
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6205 | 6205 | | |
6206 | 6206 | | |
6207 | 6207 | | |
6208 | | - | |
6209 | 6208 | | |
6210 | 6209 | | |
6211 | 6210 | | |
6212 | | - | |
| 6211 | + | |
| 6212 | + | |
| 6213 | + | |
| 6214 | + | |
6213 | 6215 | | |
6214 | 6216 | | |
6215 | 6217 | | |
| |||
0 commit comments