]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: fix false alarm on invalid block address
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 9 Apr 2024 20:34:11 +0000 (20:34 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 25 Apr 2024 15:33:09 +0000 (15:33 +0000)
commitb864ddb57eb00c4ea1e6801c7b2f70f1db2a7f4b
tree7fae6b3b819fb720ea325d50f5163a81e9bd30bc
parent2174035a7f1148a52f5a3f371f04224168b5b00a
f2fs: fix false alarm on invalid block address

f2fs_ra_meta_pages can try to read ahead on invalid block address which is
not the corruption case.

Cc: <stable@kernel.org> # v6.9+
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=218770
Fixes: 31f85ccc84b8 ("f2fs: unify the error handling of f2fs_is_valid_blkaddr")
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c