btrfs-progs: Switch btrfs-find-root to use the find-root infrastructure
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Fri, 16 Jan 2015 08:22:09 +0000 (16:22 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 11 Feb 2015 17:34:06 +0000 (18:34 +0100)
commita34d4eab3a37349ca9aa47b9e5545e5e2c6a7d3f
treea0ae9cc89e1e19b328306a4467a280afa41f4a6f
parent8e3eb7a6e8bdea3a16093b7fab5c76961b826686
btrfs-progs: Switch btrfs-find-root to use the find-root infrastructure

Since the new find-root infrastructure is here with better root
judgement with less codes, just switch to it.

To switch to the new infrastructure, new print function is added and
output format is slighted changed.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
btrfs-find-root.c