f2fs: introduce __get_node_page to reuse common code
authorChao Yu <chao2.yu@samsung.com>
Tue, 5 Jan 2016 08:52:46 +0000 (16:52 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 8 Jan 2016 19:45:20 +0000 (11:45 -0800)
commit0e022ea8fc49ed9c72ab9dcd9ca96414dc026184
treeff499ae34af010d18034fb57101f764d920faa04
parente84587250ab7e38b7d85e93a8c317e065e5c0a1f
f2fs: introduce __get_node_page to reuse common code

There are duplicated code in between get_node_page and get_node_page_ra,
introduce __get_node_page to includes common parts of these two, and
export get_node_page and get_node_page_ra by reusing __get_node_page.

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