]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
storage: Create enough volumes for mpath pool
authorOsier Yang <jyang@redhat.com>
Tue, 15 Feb 2011 02:12:24 +0000 (10:12 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 15 Feb 2011 02:12:24 +0000 (10:12 +0800)
commitb9584195340ab2a785d71c0d6e12710c28bf43b6
tree234ddc57ab74af154b2b9df5727e5e55d83970c3
parentd4b230c8fc3be7bbb404baa478ff73f9143c117f
storage: Create enough volumes for mpath pool

"virStorageBackendCreateVols":
  "names->next" serves as condition expression for "do...while",
however, "names" was shifted before, it then results in one less
loop, and thus, one less volume will be created for mpath pool,
the patch is to fix it.

* src/storage/storage_backend_mpath.c
src/storage/storage_backend_mpath.c