]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: don't probe non-files
authorEric Blake <eblake@redhat.com>
Tue, 9 Oct 2012 23:50:14 +0000 (17:50 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 19 Oct 2012 23:35:10 +0000 (17:35 -0600)
commiteac74c1f4752d7311def4b2e4848f5fd218e515c
treecb9f2e831473794150aa7f2da323c01e3212bd5f
parent1246640b3d4e1330450a29b8d33472c243b6f6f7
storage: don't probe non-files

Backing chains can end on a network protocol, such as nbd:xxx; we
should not attempt to probe the file system in this case.

* src/storage/storage_backend_fs.c (virStorageBackendProbeTarget):
Only probe files.
src/storage/storage_backend_fs.c