btrfs-progs: handle errors in btrfs_wipe_existing_sb
authorDavid Sterba <dsterba@suse.com>
Tue, 1 Sep 2015 14:00:12 +0000 (16:00 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 2 Sep 2015 16:56:52 +0000 (18:56 +0200)
commit17e1e872d4e88e9b5ec524dd9dfb3da40a295096
tree460e11645ac0c37e53073cbc652b50a06b0cf306
parentc4123e1848db8066e5fed55545a334d3377c369f
btrfs-progs: handle errors in btrfs_wipe_existing_sb

Failure during superblock wiping is not always a hard error as we're
going to overwrite it anyway but it may catch some errors earlier. The
error message is not very descriptive though, because we don't get back
much information from blkid.

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