f2fs: check return value of f2fs_readpage in find_data_page
authorChao Yu <chao2.yu@samsung.com>
Thu, 28 Nov 2013 07:43:43 +0000 (15:43 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:04 +0000 (10:18 +0900)
commit1069bbf7b963d31d5532c36d43a02b0447e5bcfa
treebc5587e5cabb63b30b3aed9f0624e9185b6bbde8
parent01d2d1aa0648192fd1d49f7d74d7e8b85b1c585a
f2fs: check return value of f2fs_readpage in find_data_page

We should return error if we do not get an updated page in find_date_page
when f2fs_readpage failed.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/data.c