f2fs: should convert inline_data during the mkwrite
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 7 Aug 2014 23:32:25 +0000 (16:32 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Aug 2014 17:01:33 +0000 (10:01 -0700)
commitb067ba1f1b3fa7ec798d35e12aed6cdba9cea905
tree1095778a55a4577811f6f98d0e1a21822bbf47ab
parente1c42045203071c4634b89e696037357810d3083
f2fs: should convert inline_data during the mkwrite

If mkwrite is called to an inode having inline_data, it can overwrite the data
index space as NEW_ADDR. (e.g., the first 4 bytes are coincidently zero)

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