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, 31 May 2018 18:31:47 +0000 (11:31 -0700)
commitcf52b27a39b3f8284d5122c403d8effc3c797006
tree776c59b02bba07e55e154b156252c392209c0c43
parenteff15c2aec6c93681dffb183779db2b08df09bc3
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