f2fs: check blkaddr more accuratly before issue a bio
authorYunlei He <heyunlei@huawei.com>
Thu, 8 Mar 2018 08:29:13 +0000 (16:29 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 11:14:34 +0000 (04:14 -0700)
commitfcea9e00a0ea5a60e2bbcd2b2c4588e5079d0c5d
tree4c3ab6be77e6b8c1c8b513edf00844a2ac10be67
parent2c217b078fee4bb3d11a4d54d33892f6bebaf38a
f2fs: check blkaddr more accuratly before issue a bio

This patch check blkaddr more accuratly before issue a
write or read bio.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/segment.h