f2fs: fix to report newly allocate region as extent
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 13 Jun 2014 04:02:11 +0000 (13:02 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 23 Jun 2014 01:05:07 +0000 (10:05 +0900)
Previous get_block in f2fs didn't report the newly allocated region which has
NEW_ADDR.
For reader, it should not report, but fiemap needs this.
So, this patch introduces two get_block sharing core function.

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

diff --cc fs/f2fs/data.c
Simple merge