diff options
author | Liu Bo <[email protected]> | 2013-05-26 13:50:31 +0000 |
---|---|---|
committer | Josef Bacik <[email protected]> | 2013-06-14 11:30:03 -0400 |
commit | a96fbc72884fcb0367c6c838357b841b8f10a531 (patch) | |
tree | 3a2d3e01260fe038f0b8bc0a114e4dcb4ad816d0 /lib/mpi/mpiutil.c | |
parent | b7394eb91c703a07284501754dc735b3cd0154b7 (diff) |
Btrfs: allow file data clone within a file
We did not allow file data clone within the same file because of
deadlock issues.
However, we now use nested lock to avoid deadlock between the
parent directory and the child file.
So it's safe to do file clone within the same file when the two
ranges are not overlapped.
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: Liu Bo <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions