Re: [PATCH v2 3/3] btrfs-progs: send: fix handling of -c option

2016-11-07 Thread David Sterba
On Fri, Nov 04, 2016 at 05:33:58PM +0900, Tsutomu Itoh wrote: > When two or more -c options are specified, cannot find a suitable > parent. So, output stream is bigger than correct one. > > [before] > # btrfs send -f /tmp/data1 -c Snap0 -c ../SnapX Snap[12] ../SnapY > At subvol Snap1 > At subvol

[PATCH v2 3/3] btrfs-progs: send: fix handling of -c option

2016-11-04 Thread Tsutomu Itoh
When two or more -c options are specified, cannot find a suitable parent. So, output stream is bigger than correct one. [before] # btrfs send -f /tmp/data1 -c Snap0 -c ../SnapX Snap[12] ../SnapY At subvol Snap1 At subvol Snap2 At subvol ../SnapY # ls -l /tmp/data1 -rw--- 1 root root 3153 Oct