]> git.ipfire.org Git - thirdparty/libvirt.git/commit
sanlock: don't unlink lockspace if registration fails
authorAsad Saeed <asad.saeed@acidseed.com>
Mon, 13 Aug 2012 20:21:10 +0000 (13:21 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 13 Aug 2012 23:11:30 +0000 (17:11 -0600)
commitff73c6d3bc60eb6557fedd12f14b8416c81fcda6
treedbf089b2406eee60f65161c730afce1b8adb51f7
parent86157b594f04664a99bdbb60273f337317c1b5a8
sanlock: don't unlink lockspace if registration fails

This is a patch for bug 847848
If registering an existing lockspace with the sanlock daemon
returns an error, libvirt should not proceed to unlink the lockspace.

Signed-off-by: Asad Saeed <asad.saeed@acidseed.com>
AUTHORS
src/locking/lock_driver_sanlock.c