OSDN Git Service

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>
Thu, 8 Feb 2018 02:05:54 +0000 (18:05 -0800)
commit6afa9a94d09b1e9155db2aa41555e31696d31bf7
treeae5979a43d0e93d728a1065b04abb57e9812a919
parent10f4a4140b618ea89740dd76ff47aedbd5161f84
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