]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Ensure the device path exists before refreshing disk pool
authorOsier Yang <jyang@redhat.com>
Mon, 19 Sep 2011 07:35:15 +0000 (15:35 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 20 Sep 2011 03:15:05 +0000 (11:15 +0800)
commit891c6fd74f1d485ab81eff34b8a15a79528373f1
tree7fab968a6c3064a33af90d2fad8a0f6f012a3103
parent232392b1c696b12311eb5727b631e7aec70ae97c
storage: Ensure the device path exists before refreshing disk pool

Doing libvirt_parthelper on an not existed device path will get
an unfriendly error message. This patch is to prohibit it.
src/storage/storage_backend_disk.c