]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Check FS pool source during virStorageBackendFileSystemIsMounted
authorJohn Ferlan <jferlan@redhat.com>
Mon, 7 Dec 2015 13:35:57 +0000 (08:35 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 15 Dec 2015 19:33:04 +0000 (14:33 -0500)
commitdae7007d6e445060afd987b14cc7431b67d60bed
tree1132481409338ff12f7ce26b1d97dd6c1b80343d
parent61c29fe56f3a604c8c05f998aa46f2bfa3c1454e
storage: Check FS pool source during virStorageBackendFileSystemIsMounted

https://bugzilla.redhat.com/show_bug.cgi?id=1025230

When determining whether a FS pool is mounted, rather than assuming that
the FS pool is mounted just because the target.path is in the mount list,
let's make sure that the FS pool source matches what is mounted
src/storage/storage_backend_fs.c