All of lore.kernel.org
 help / color / mirror / Atom feed
* master - pvscan: fix lvmlockd global lock
@ 2016-06-15 21:52 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2016-06-15 21:52 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=944ae4d2df0f15afb29ac0a68d0dd012d9df9acf
Commit:        944ae4d2df0f15afb29ac0a68d0dd012d9df9acf
Parent:        15da467b52465076a8d587b94cc638bab8a0a95c
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Wed Jun 15 16:51:36 2016 -0500
Committer:     David Teigland <teigland@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;



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-15 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-15 21:52 master - pvscan: fix lvmlockd global lock David Teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.