diff --git a/src/locking/lock_driver_lockd.c b/src/locking/lock_driver_lockd.c index 2386b24f40..2574cd47e2 100644 --- a/src/locking/lock_driver_lockd.c +++ b/src/locking/lock_driver_lockd.c @@ -650,8 +650,7 @@ static int virLockManagerLockDaemonAcquire(virLockManagerPtr lock, memset(&args, 0, sizeof(args)); - if (priv->resources[i].lockspace) - args.path = priv->resources[i].lockspace; + args.path = priv->resources[i].lockspace; args.name = priv->resources[i].name; args.flags = priv->resources[i].flags;