f2fs: fix to cover f2fs_inline_data_fiemap with inode_lock
authorChao Yu <yuchao0@huawei.com>
Thu, 11 Jan 2018 06:37:35 +0000 (14:37 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 27 Jan 2018 21:30:11 +0000 (13:30 -0800)
commit042aeed690a333f85e247438ea285b945d07c5d5
tree139db23c93776c8ca99fcb629617c00f15a684af
parent9cf9c37ebe90d8592ac458033d03f035f77ddd05
f2fs: fix to cover f2fs_inline_data_fiemap with inode_lock

This patch fix to cover f2fs_inline_data_fiemap with inode_lock in order
to make that interface avoiding race with mapping change.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c