]> sourceware.org Git - lvm2.git/commit
fix readonly activation override options
authorDavid Teigland <teigland@redhat.com>
Wed, 12 Sep 2018 20:59:47 +0000 (15:59 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 12 Sep 2018 21:30:50 +0000 (16:30 -0500)
commit0aeca60aaa65bde99115ec7ca92a93a885d3afb1
treebc9cadf6f20db06f6c593223fd188ea37335a4ce
parent17bd91e33e0d37d8cca03b42cee20251d7fa5e80
fix readonly activation override options

This fixes a problem in commit e6bb780d242, in which the
back compat handling for the old locking_type=4 was
incorrectly translated to mean the same thing as --readonly,
which prevented activation because activation uses an
exclusive vg lock.  Previously, locking_type=4 allowed
activation.

If we see locking_type 4 in an old config, translate it to
the new combination of --readonly and --sysinit, which we
now define to mean the --readonly behavior with an exception
to allow activation.
lib/locking/locking.c
tools/command-lines.in
tools/lvmcmdline.c
This page took 0.037141 seconds and 5 git commands to generate.