]> xenbits.xensource.com Git - libvirt.git/commit
sanlock: Provide better error if lockspace directory is missing
authorJiri Denemark <jdenemar@redhat.com>
Tue, 21 Aug 2012 13:27:10 +0000 (15:27 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 21 Aug 2012 16:09:09 +0000 (18:09 +0200)
commit2560a51ef3f72711852c365ecf1efd6212c0793b
tree9adcbf28f9c2b1ce2a545f813962327cb8e9cec0
parent15f5e16f4e74fb7c2bd2d62ff7e1ce15b28f563f
sanlock: Provide better error if lockspace directory is missing

Generating "Unable to add lockspace /lock/space/dir/__LIBVIRT__DISKS__:
No such file or directory" is correct but not exactly clear. This patch
changes the error message to "Unable to create lockspace
/lock/space/dir/__LIBVIRT__DISKS__: parent directory does not exist or
is not a directory".
src/locking/lock_driver_sanlock.c