btrfs-progs: dump-tree: simplify and fix check for empty uuid
authorDavid Sterba <dsterba@suse.com>
Wed, 2 Nov 2016 09:22:10 +0000 (10:22 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 9 Nov 2016 12:47:30 +0000 (13:47 +0100)
commita15294f0c4fa56c0402e7b23ce6dff3508da0be5
tree8b4394df2efa04d75b913e5483ca8d291bc07ae1
parent5082ec84a86cbb8a6f8e5140c11f1200c26cc05a
btrfs-progs: dump-tree: simplify and fix check for empty uuid

Counting non-zero bytes is wasteful, besides that it would not recognize
uuids containing a 00 value.

Signed-off-by: David Sterba <dsterba@suse.com>
print-tree.c