diff options
author | Chao Yu | 2016-08-04 14:13:03 +0200 |
---|---|---|
committer | Jaegeuk Kim | 2016-08-19 04:15:08 +0200 |
commit | 20a3d61d46e1fb45efa6eb4637c0dcd3f00a14e9 (patch) | |
tree | b31648702d4d9267f5d0f078c5db9ce9aad082f2 /Documentation/mips | |
parent | f2fs: allow copying file range only in between regular files (diff) | |
download | kernel-qcow2-linux-20a3d61d46e1fb45efa6eb4637c0dcd3f00a14e9.tar.gz kernel-qcow2-linux-20a3d61d46e1fb45efa6eb4637c0dcd3f00a14e9.tar.xz kernel-qcow2-linux-20a3d61d46e1fb45efa6eb4637c0dcd3f00a14e9.zip |
f2fs: avoid potential deadlock in f2fs_move_file_range
Thread A Thread B
- inode_lock fileA
- inode_lock fileB
- inode_lock fileA
- inode_lock fileB
We may encounter above potential deadlock during moving file range in
concurrent scenario. This patch fixes the issue by using inode_trylock
instead.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/mips')
0 files changed, 0 insertions, 0 deletions