linux/fs/f2fs
Weichao Guo 51be334da3 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:23:34 +01:00
..
Kconfig
Makefile
acl.c
acl.h
checkpoint.c f2fs: show f2fs instance in printk_ratelimited 2021-09-22 12:26:23 +02:00
data.c f2fs: fix unexpected ENOENT comes from f2fs_map_blocks() 2021-09-22 12:26:26 +02:00
debug.c
dir.c f2fs: reduce the scope of setting fsck tag when de->name_len is zero 2021-09-22 12:26:23 +02:00
extent_cache.c
f2fs.h f2fs: show f2fs instance in printk_ratelimited 2021-09-22 12:26:23 +02:00
file.c f2fs: fix to unmap pages from userspace process in punch_hole() 2021-09-22 12:26:26 +02:00
gc.c f2fs: fix to account missing .skipped_gc_rwsem 2021-09-22 12:26:25 +02:00
gc.h
hash.c
inline.c
inode.c f2fs: should use GFP_NOFS for directory inodes 2021-11-17 09:48:49 +01:00
namei.c f2fs: should use GFP_NOFS for directory inodes 2021-11-17 09:48:49 +01:00
node.c f2fs: set SBI_NEED_FSCK flag when inconsistent node block found 2021-12-01 09:23:34 +01:00
node.h
recovery.c
segment.c f2fs: show f2fs instance in printk_ratelimited 2021-09-22 12:26:23 +02:00
segment.h
shrinker.c
super.c f2fs: quota: fix potential deadlock 2021-09-22 12:26:22 +02:00
sysfs.c
trace.c
trace.h
verity.c
xattr.c
xattr.h