f2fs: clean up the do_submit_bio flow
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 18 Nov 2013 08:13:35 +0000 (17:13 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:00 +0000 (10:18 +0900)
commit7d5e510944ce60ef0c6c2300a58547679df76db7
tree37e16294356e0917f04daf1d8494e5ac14383f11
parent75c3c8bc88d573d6823fcf2576f5c47e4fc41710
f2fs: clean up the do_submit_bio flow

This patch introduces PAGE_TYPE_OF_BIO() and cleans up do_submit_bio() with it.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/f2fs.h
fs/f2fs/segment.c