]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Revert "storage: For FS pool check for properly formatted target volume"
authorPeter Krempa <pkrempa@redhat.com>
Thu, 12 Jan 2017 12:50:19 +0000 (13:50 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 13 Jan 2017 08:28:28 +0000 (09:28 +0100)
commit9538dff96f51b2ebd37e3954c7323aacb65e9316
tree6b5608b2a36b6370aba4a68badd2f81f2c5e2bdc
parentecb587e4ca5d74bc2ff3883b3183ec4c89bf960c
Revert "storage: For FS pool check for properly formatted target volume"

The check does not work properly (crashes) with netfs filesystems and
also checking that a device is not empty when attempting to mount a
filesystem is not very usefull since the mount will fail anyways.

As the code would improve only a very minor corner case I don't really
see a reason to have this code at all.

This code would also fail if libvirt is compiled without support for
blkid and without parted.

This reverts commit a11fd69735e6951cda9bf256d8e423696a441aa4.
src/storage/storage_backend_fs.c