]> www.infradead.org Git - linux.git/commit
f2fs: fix to do sanity check on blocks for inline_data inode
authorChao Yu <chao@kernel.org>
Tue, 21 May 2024 06:23:18 +0000 (14:23 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 12 Jun 2024 15:46:02 +0000 (15:46 +0000)
commitc240c87bcd44a1a2375fc8ef8c645d1f1fe76466
tree008aabf5b080ca2c9e46774a332b8153331daf39
parentfc01008c92f40015aeeced94750855a7111b6929
f2fs: fix to do sanity check on blocks for inline_data inode

inode can be fuzzed, so it can has F2FS_INLINE_DATA flag and valid
i_blocks/i_nid value, this patch supports to do extra sanity check
to detect such corrupted state.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/inline.c
fs/f2fs/inode.c