Weichao Guo 8984bba3b4 f2fs: set SBI_NEED_FSCK flag when inconsistent node block found
[ Upstream commit 6663b138ded1a59e630c9e605e42aa7fde490cdc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-12-01 09:04:55 +01:00
..
2021-09-04 10:48:47 -07:00
2021-08-17 11:59:05 -07:00
2021-09-04 10:48:47 -07:00
2021-03-30 18:48:56 -07:00
2021-08-23 10:25:51 -07:00
2021-08-23 10:25:51 -07:00
2021-08-13 11:57:08 -07:00
2021-09-04 10:48:47 -07:00
2021-05-04 18:03:38 -07:00