[lvm-devel] master - pvscan: fix lvmlockd global lock
David Teigland
teigland at fedoraproject.org
Wed Jun 15 21:52:33 UTC 2016
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=944ae4d2df0f15afb29ac0a68d0dd012d9df9acf
Commit: 944ae4d2df0f15afb29ac0a68d0dd012d9df9acf
Parent: 15da467b52465076a8d587b94cc638bab8a0a95c
Author: David Teigland <teigland at redhat.com>
AuthorDate: Wed Jun 15 16:51:36 2016 -0500
Committer: David Teigland <teigland at redhat.com>
CommitterDate: Wed Jun 15 16:51:36 2016 -0500
pvscan: fix lvmlockd global lock
This should have been removed when pvscan was
recently converted to use process_each_pv which
does the lvmlockd locking.
---
tools/pvscan.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/tools/pvscan.c b/tools/pvscan.c
index 5987e8b..78dad82 100644
--- a/tools/pvscan.c
+++ b/tools/pvscan.c
@@ -624,10 +624,6 @@ int pvscan(struct cmd_context *cmd, int argc, char **argv)
return ECMD_FAILED;
}
- /* Needed for a current listing of the global VG namespace. */
- if (!lockd_gl(cmd, "sh", 0))
- return_ECMD_FAILED;
-
if (!(handle = init_processing_handle(cmd))) {
log_error("Failed to initialize processing handle.");
ret = ECMD_FAILED;
More information about the lvm-devel
mailing list