summaryrefslogtreecommitdiff
path: root/restore.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2011-10-27 16:23:14 -0400
committerChris Mason <chris.mason@oracle.com>2011-10-27 16:23:14 -0400
commitba1aa28496cf2a2c7ffff0521c6c858a0505d4c2 (patch)
treeafb36912305ae49312eb50aa25434499a57e64ee /restore.c
parentbe826706b5c0fcca3bdeff6934cd8d46d046ddfe (diff)
btrfs-progs: fixup is_mounted checks
/proc/mounts contains device names that don't exist, we end up erroring out because we're not able to stat the device (that doesn't exist). Fix this by allowing the mkfs when the target device doesn't exist. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'restore.c')
0 files changed, 0 insertions, 0 deletions