btrfs-progs: send: fix handling of multiple snapshots
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 24 Mar 2016 07:47:28 +0000 (16:47 +0900)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 Mar 2016 14:26:13 +0000 (16:26 +0200)
commita26044607704ce1be732d1256ffc35c31ebce147
treedc3df664bdae0dd1d8ddf50ae43e6063a01ce94f
parentd7477bcd0b714a984f83b78aa19a9785bf3c8039
btrfs-progs: send: fix handling of multiple snapshots

We cannot send multiple snapshots at once.

[before fix]
# btrfs send ./snap[12] > snap12.data
At subvol ./snap1
At subvol ./snap2
ERROR: parent determination failed for 0
#

[after fix]
# btrfs send ./snap[12] > snap12.data
At subvol ./snap1
At subvol ./snap2
#

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-send.c