Btrfs-progs: bugfix for subvolume parent determination in btrfs send
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Tue, 6 Nov 2012 20:47:08 +0000 (21:47 +0100)
committerDavid Sterba <dsterba@suse.cz>
Mon, 21 Jan 2013 17:52:48 +0000 (18:52 +0100)
commitdb1b7f93b4818028d915ac3c98c0f621103bd3ba
tree17b8beb15ffa7d7429822d36c9318d9d13c1766c
parentcc088694ff51c715793c974fffa110bb44451a5e
Btrfs-progs: bugfix for subvolume parent determination in btrfs send

We missed to add the default subvolume, because it has no ROOT_BACKREF_ITEM.
This made get_parent always fail for direct decendants of the default
subvolume, resulting in lots of full streams where incremental streams were
requested.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Reviewed-by: Alexander Block <ablock84@googlemail.com>
send-utils.c