Skip to content
Commit 362a20c5 authored by David Sterba's avatar David Sterba Committed by Alexander Block
Browse files

btrfs: allow cross-subvolume file clone



Lift the EXDEV condition and allow different root trees for files being
cloned, then pass source inode's root when searching for extents.
Cloning is not allowed to cross vfsmounts, ie. when two subvolumes from
one filesystem are mounted separately.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
parent 28a33cbc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment