From 8810c11bc924e8871f97aa25c61e73b3b3f1fa87 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Wed, 29 Jan 2020 10:37:28 -0600 Subject: [PATCH] lvmlockd: use ret value in query function --- lib/locking/lvmlockd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locking/lvmlockd.c b/lib/locking/lvmlockd.c index f3964785b..cbe212161 100644 --- a/lib/locking/lvmlockd.c +++ b/lib/locking/lvmlockd.c @@ -2114,7 +2114,7 @@ static int _query_lock_lv(struct cmd_context *cmd, struct volume_group *vg, if (result == -ENOENT) return 1; - return 1; + return ret; } /*