]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virGetStorageVol: Don't ignore NULL pool name
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 10 May 2013 10:05:28 +0000 (12:05 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 10 May 2013 10:05:28 +0000 (12:05 +0200)
commit3cef9f6adbdcea67cf8c134381345d82909b75c5
treee0d8c5668adfcb7eccae16e0be5718febe7be769
parent4960022a1714c0ca934e889e8380d54ee9384cce
virGetStorageVol: Don't ignore NULL pool name

The function takes pool name as argument. However,
it is not acceptable for it to be NULL. Hence, we
should check it and report error in case it is.
src/datatypes.c