virt-filesystems: Ignore errors when getting label and UUID (RHBZ#668112).
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 8 Jan 2011 10:15:39 +0000 (10:15 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 10 Jan 2011 09:42:07 +0000 (09:42 +0000)
commit03ac08e5230d0e51f94e72ba2849c2ef13ed217b
treeb5913ffa7bce17ad39661bd1755ce35d194686e0
parent03097193078ad01c33148716726a03262e3c72ab
virt-filesystems: Ignore errors when getting label and UUID (RHBZ#668112).

If virt-filesystems was pointed to an image that contained
bogus or blank filesystems, then calls to vfs-label and/or vfs-uuid
could fail, resulting in errors like this:

libguestfs: error: vfs_label: /dev/vda1:

These errors can be ignored and shouldn't stop virt-filesystems
from working.
(cherry picked from commit 97339a0f43d687efac6f7edafdf21e4b8d9b35e8)
cat/virt-filesystems.c