Skip to content
Commit 05e36006 authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim
Browse files

f2fs: fix to handle error path correctly in f2fs_map_blocks



In f2fs_map_blocks(), we should bail out once __allocate_data_block()
failed.

Fixes: f847c699 ("f2fs: allow out-place-update for direct IO in LFS mode")
Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 86f35dc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment