]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: driver: Split out code fixing pool state after deactivation
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Mar 2017 11:45:45 +0000 (13:45 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 3 Apr 2017 06:42:09 +0000 (08:42 +0200)
commitaced6b23560b7d697069b0d81cfab230e2b20c47
tree6eba9d5f0854d2fe15349c63f94f448cf5ff7835
parent894133a3bd88fadb950042aec1e9edda0a640f83
storage: driver: Split out code fixing pool state after deactivation

After a pool is made inactive the definition objects need to be updated
(if a new definition is prepared) and transient pools need to be
completely removed. Split out the code doing these steps into a separate
function for later reuse.
src/storage/storage_driver.c