Btrfs-progs: make btrfs-image copy the tree logs if they exist
authorJosef Bacik <jbacik@fusionio.com>
Mon, 18 Mar 2013 20:03:44 +0000 (16:03 -0400)
committerDavid Sterba <dsterba@suse.cz>
Thu, 21 Mar 2013 18:36:30 +0000 (19:36 +0100)
commit274518d7b876a72c3b00849385878122c26d117a
tree35e61a68330e076ffbb92761a4312d15eeb3e1cc
parent1bf2717b2f45e28542de707bf152622aba09e1aa
Btrfs-progs: make btrfs-image copy the tree logs if they exist

Currently btrfs-image doesn't copy the tree logs, which doesn't help me when
we're trying to debug log replay bugs.  Since we don't have entries in the
extent root for the blocks we have to walk down all of the trees in order to
copy them.  With this patch I can image a file system with a tree log and it
works fine.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
btrfs-image.c