[libvirt] [PATCH v3 06/28] virLockManagerSanlockAddResource: Do not ignore unknown resource types
John Ferlan
jferlan at redhat.com
Thu Aug 30 17:00:47 UTC 2018
On 08/27/2018 04:08 AM, Michal Privoznik wrote:
> Currently, there are only two types of resource. So effectively
> this is a dead code. However, that assumption can change and we
> shouldn't just silently ignore the error.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/locking/lock_driver_sanlock.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
True and this then follows what lockd does in
virLockManagerLockDaemonAddResource
Reviewed-by: John Ferlan <jferlan at redhat.com>
John
More information about the libvir-list
mailing list