commit | 241a9657dda59177e40882dbbb3e0a7eaa09670e | [log] [tgz] |
---|---|---|
author | Weichao Guo <guoweichao@oppo.com> | Sat Sep 18 20:46:36 2021 +0800 |
committer | Jaegeuk Kim <jaegeuk@google.com> | Tue Nov 16 13:56:08 2021 -0800 |
tree | ef5877f513f23c1f189141fa7d0d2b62ca8c50d8 | |
parent | 6d774f233dbd2174c64583103cdaa5f96bb28b50 [diff] |
f2fs: set SBI_NEED_FSCK flag when inconsistent node block found Inconsistent node block will cause a file fail to open or read, which could make the user process crashes or stucks. Let's mark SBI_NEED_FSCK flag to trigger a fix at next fsck time. After unlinking the corrupted file, the user process could regenerate a new one and work correctly. Signed-off-by: Weichao Guo <guoweichao@oppo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>