f2fs: clean up commit_inmem_pages()
authorChao Yu <yuchao0@huawei.com>
Mon, 23 Apr 2018 02:36:14 +0000 (10:36 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 Jun 2018 22:49:24 +0000 (15:49 -0700)
commit568765d739df9784de71afa5a2f53f25e954f238
tree4704c892ea23ab099b48055de404ba3f56f9b1fe
parentac2074b52e87f05a53336a4fb9cad91392b4b8fa
f2fs: clean up commit_inmem_pages()

This patch moves error handling from commit_inmem_pages() into
__commit_inmem_page() for cleanup, no logic change.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c