]> git.ipfire.org Git - thirdparty/libvirt.git/commit
NFS storage pool: Fix libvirtd crash due to refactor edit
authorJohn Ferlan <jferlan@redhat.com>
Fri, 4 Apr 2014 13:55:00 +0000 (09:55 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 4 Apr 2014 13:55:00 +0000 (09:55 -0400)
commit30283b8640f514e5d05299ad2fee02e792dedac9
tree79721faad46c8b005ddddd98d5f468f967c0e555
parent82d858ce422f400da34079ccd88c42b3365dfce1
NFS storage pool: Fix libvirtd crash due to refactor edit

Commit id '18642d10' refactored the call to virCommandRunRegex()
inside a new function virStorageBackendFileSystemNetFindNFSPoolSources(),
but the cut-n-paste didn't remove the "&state".  Now that state is passed
by reference, it results in a libvirtd core with a messages entry:

"...internal error: unknown storage pool type Unknow"
src/storage/storage_backend_fs.c