diff options
author | David Teigland <teigland@redhat.com> | 2020-01-29 10:37:28 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2020-01-29 10:37:28 -0600 |
commit | 8810c11bc924e8871f97aa25c61e73b3b3f1fa87 (patch) | |
tree | db4bc73062480d2c54217a56ed0b50ba34f5de2a | |
parent | 7404216241827d903dcb3ff441bae0c8819309d2 (diff) | |
download | lvm2-8810c11bc924e8871f97aa25c61e73b3b3f1fa87.tar.gz |
lvmlockd: use ret value in query function
-rw-r--r-- | lib/locking/lvmlockd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } /* |