f2fs: read isize while holding i_mutex in fiemap
authorFan Li <fanofcode.li@samsung.com>
Mon, 4 Jan 2016 07:56:50 +0000 (15:56 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 7 Jan 2016 03:15:49 +0000 (19:15 -0800)
commitde1475cc53b2d6442443dcf5d66ed0fc50ed3c7e
treec0f535152439e214a003c764ad96241c13418330
parent957efb0c2144cc5ff1795f43bf2d2ca430eaa227
f2fs: read isize while holding i_mutex in fiemap

make sure the isize we read doesn't change during the process.

Signed-off-by: Fan li <fanofcode.li@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c