f2fs: avoid duplicated code by reusing f2fs_read_end_io
authorChao Yu <chao2.yu@samsung.com>
Mon, 25 May 2015 10:03:38 +0000 (18:03 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 1 Jun 2015 23:21:04 +0000 (16:21 -0700)
commit12377024719f08b7411afe9fc0169b13808dfefa
tree9cb12be8863a6fb4c020be9d9ca3726527c003e5
parent26bf3dc7e25b813ff5c92234f8165941fdc12a63
f2fs: avoid duplicated code by reusing f2fs_read_end_io

This patch tries to clean up code because part code of f2fs_read_end_io
and mpage_end_io are the same, so it's better to merge and reuse them.

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