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)
commitccfb30001f37ace4690a74c27b4812cf054e123a
tree84feb6e6d93caa1ee703d528b0d0dc1dffcdd04a
parenta497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee
f2fs: fix to report newly allocate region as extent

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