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:Chao Yu <chao@kernel.org> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> (cherry picked from commit d48a7b3a) [Lee: Removed call to f2fs_handle_error() - not in original hunk] Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: I1a8695fc5eda522e010468093ad78ffebd7dada5
Loading
Please sign in to comment