Commit 3e9ba880 authored by Chao Yu's avatar Chao Yu Committed by Lee Jones
Browse files

BACKPORT: f2fs: fix to do sanity check on extent cache correctly



In do_read_inode(), sanity_check_inode() should be called after
f2fs_init_read_extent_tree(), fix it.

Fixes: 72840ccc ("f2fs: allocate the extent_cache by default")
Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit d48a7b3a)
[Lee: Removed call to f2fs_handle_error() - not in original hunk]
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I1a8695fc5eda522e010468093ad78ffebd7dada5
parent e9542776
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment