Btrfs-progs: Set the root-id for received subvols in btrfs receive
authorStefan Behrens <sbehrens@giantdisaster.de>
Wed, 10 Apr 2013 10:08:31 +0000 (12:08 +0200)
committerDavid Sterba <dsterba@suse.cz>
Tue, 23 Apr 2013 16:56:23 +0000 (18:56 +0200)
commitadf67ff7613e51dfa331f73a15a3e98f8e354b70
tree43d48de64a72eb482c8920c37f70610ed45792ae
parentc3153d2fc898e621382cff157e9a04aa49277dab
Btrfs-progs: Set the root-id for received subvols in btrfs receive

When an entry was added to the subvol search tree, the root_id was
always 0 (not set at all) and therefore only the first one was
added, all the others had been ignored. This commit sets the root_id
before the entry is added.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
cmds-receive.c