diff options
author | David Teigland <teigland@redhat.com> | 2016-06-15 16:51:36 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2016-06-15 16:51:36 -0500 |
commit | 944ae4d2df0f15afb29ac0a68d0dd012d9df9acf (patch) | |
tree | e021a2d33e8bbef2b7709a8cb499e4a724183933 | |
parent | 15da467b52465076a8d587b94cc638bab8a0a95c (diff) | |
download | lvm2-944ae4d2df0f15afb29ac0a68d0dd012d9df9acf.tar.gz |
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.
-rw-r--r-- | tools/pvscan.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/pvscan.c b/tools/pvscan.c index 5987e8b78..78dad825a 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; |