diff options
author | David Teigland <teigland@redhat.com> | 2015-08-27 16:34:51 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-08-27 16:34:51 -0500 |
commit | e5d99cb9e685ba167f10413694e5d9d34fe90bb0 (patch) | |
tree | 782adc9465de734bc1f0430a7468053753efd19f | |
parent | 3c1924c9c0d45cbce67aa3c1dad70737a6956cc3 (diff) | |
download | lvm2-e5d99cb9e685ba167f10413694e5d9d34fe90bb0.tar.gz |
lvmlockd: VG lock can be used when changing lock type
This bit was missed from commit de4db6a that added
changing lock_type.
-rw-r--r-- | tools/vgchange.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/vgchange.c b/tools/vgchange.c index f57fa1555..6d8605121 100644 --- a/tools/vgchange.c +++ b/tools/vgchange.c @@ -1048,15 +1048,6 @@ static int _lockd_vgchange(struct cmd_context *cmd, int argc, char **argv) cmd->lockd_vg_disable = 1; /* - * In most cases, lockd_vg does not apply when changing lock type. - * (We don't generally allow changing *from* lockd type yet.) - * lockd_vg could be called within _vgchange_locktype as needed. - */ - - if (arg_is_set(cmd, locktype_ARG)) - cmd->lockd_vg_disable = 1; - - /* * Changing system_id or lock_type must only be done on explicitly * named vgs. */ |