f2fs: introduce prepare_write_begin to clean up
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Dec 2015 19:55:18 +0000 (11:55 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 30 Dec 2015 18:14:11 +0000 (10:14 -0800)
commit2aadac085cf0ca3e0295988d4d1dbdeafc15a9f6
treee37aaaf635cec58b923b33b80cc2e4b968237b05
parentfba48a8b14f405afc5c80a93ed64a12607dd52c4
f2fs: introduce prepare_write_begin to clean up

This patch adds prepare_write_begin to clean f2fs_write_begin.
The major role of this function is to convert any inline_data and allocate
or find block address.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c