btrfs-progs: skip chunk recover works when check chunks successfully
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 28 Nov 2013 05:32:50 +0000 (13:32 +0800)
committerChris Mason <clm@fb.com>
Fri, 31 Jan 2014 16:22:08 +0000 (08:22 -0800)
commit7af8e4ee2ad1ffee55be45206515038a3c581c65
treeff548d857b6917b23ec53d17c00dea799ab7fbb3
parent52ddfa74fe191dd8ec23702be2aac3f76f86e4d3
btrfs-progs: skip chunk recover works when check chunks successfully

If no chunks need to be recovered, skip the recover works,
meanwhile the user won't be annoyed by the "ask_user".

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
chunk-recover.c