btrfs-progs: fix loop device mount checks
authorDavid Sterba <dsterba@suse.cz>
Fri, 20 Sep 2013 16:52:18 +0000 (18:52 +0200)
committerChris Mason <clm@fb.com>
Fri, 31 Jan 2014 16:22:00 +0000 (08:22 -0800)
commitd06b30feb9cb99e3684b5709159ca59cf811f517
tree569a7faf7a8ec40b0dbf8f4b5793a1e053ddbd7e
parentb4f4473e8a88896c8ff12578183af0f099d33591
btrfs-progs: fix loop device mount checks

When creating a fs on a loop device, mkfs checks whether the same file
is not already mounted, but a backing file of another loop dev does not
exist, mkfs fails. This fixes a bug during openSUSE installation.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
utils.c