]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't update vol details after build
authorDavid Allan <dallan@redhat.com>
Wed, 6 Jan 2010 16:53:15 +0000 (17:53 +0100)
committerDaniel Veillard <veillard@redhat.com>
Wed, 6 Jan 2010 16:53:15 +0000 (17:53 +0100)
commit1c06eb18c37b8fcbf160d464fa5f1aa74e0056ef
tree80011da1ce8466b48c2476e7ea4848abadc0a06e
parent8838ee39ab1c2bb7fffe93bfda220692664e8be6
Don't update vol details after build

This patch removes the call to vol update after the volume build completes.
The update call is currently meaningless anyway because the vol build is passed
a copy of the definition, so the update result is thrown away.  More
importantly, if the user specified a selinux label for the volume, the update
call results in a double free of the label
* src/storage/storage_backend_fs.c: remove the update call
src/storage/storage_backend_fs.c