commit | 2df0ab045784a1ca904437601a5086f570e8cf16 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon Mar 25 21:07:30 2019 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed May 08 21:23:10 2019 -0700 |
tree | c19ab4ec5d4703c1d5d2b8b41d6d688a78cea351 | |
parent | 5c533b19ae26e810d07ba3d2216ea704b2127ab2 [diff] |
f2fs: introduce f2fs_read_single_page() for cleanup This patch introduces f2fs_read_single_page() to wrap core operations of reading one page in f2fs_mpage_readpages(). In addition, if we failed in f2fs_mpage_readpages(), propagate error number to f2fs_read_data_page(), for f2fs_read_data_pages() path, always return success. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>