diff options
author | David Teigland <teigland@redhat.com> | 2015-06-25 13:05:19 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-06-30 14:23:40 -0500 |
commit | 852531e6cdeb3f281eb8f4aa1342fc74031a7b39 (patch) | |
tree | f9ae50e5c1100761d5ccb086378e468cd21055fa | |
parent | 17b2fdea5dbd0c6ec46f7e3d90b9c98aef0eefd6 (diff) | |
download | lvm2-852531e6cdeb3f281eb8f4aa1342fc74031a7b39.tar.gz |
vgchange --uuid doesn't need lockd_gl
-rw-r--r-- | tools/vgchange.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/vgchange.c b/tools/vgchange.c index 9bed5275f..7a556e12d 100644 --- a/tools/vgchange.c +++ b/tools/vgchange.c @@ -1053,9 +1053,7 @@ static int lockd_vgchange(struct cmd_context *cmd, int argc, char **argv) if (argc && !lockd_gl(cmd, "sh", 0)) return_ECMD_FAILED; - } else if (arg_is_set(cmd, systemid_ARG) || - arg_is_set(cmd, uuid_ARG) || - arg_is_set(cmd, locktype_ARG)) { + } else if (arg_is_set(cmd, systemid_ARG) || arg_is_set(cmd, locktype_ARG)) { /* * This is a special case where taking the global lock is * helpful to detect changes to local VGs from other hosts. VG |