]> sourceware.org Git - lvm2.git/commit
lockd: fix error cases when built without lvmlockd
authorDavid Teigland <teigland@redhat.com>
Thu, 16 Jul 2015 20:12:07 +0000 (15:12 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 16 Jul 2015 20:22:06 +0000 (15:22 -0500)
commit268f53ed0de087b0d42429a8b18c191f12a331cb
tree66918327b9fbf9dccb16804a50f2199e1ed177d7
parentb93b85378d119e8396b0469574770cd097a988f0
lockd: fix error cases when built without lvmlockd

When lvm is built without lvmlockd support, vgcreate using a
shared lock type would succeed and create a local VG (the
--shared option was effectively ignored).  Make it fail.

Fix the same issue when using vgchange to change a VG to a
shared lock type.

Make the error messages consistent.
lib/locking/lvmlockd.h
tools/toollib.c
tools/vgchange.c
This page took 0.030645 seconds and 5 git commands to generate.