mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
28a33cbc24
commit
362a20c5e2
1 changed files with 8 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue