diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2010-05-06 11:15:55 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2010-05-06 11:15:55 +0000 |
commit | d50c6d4bf5d15cbd17ef38f883cd82899c589cba (patch) | |
tree | 89e8e210592711c447eafc5307061eee87892d50 /liblvm | |
parent | 3283f817eb205b7a014bb171785b6ccde04d33bc (diff) | |
download | lvm2-d50c6d4bf5d15cbd17ef38f883cd82899c589cba.tar.gz lvm2-d50c6d4bf5d15cbd17ef38f883cd82899c589cba.tar.xz lvm2-d50c6d4bf5d15cbd17ef38f883cd82899c589cba.zip |
Add new --sysinit option for vgchange and lvchange.
A shortcut for --ignorelockingfailure, --ignoremonitoring, --poll n options
and LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES environment variable used all at
once in initialisation scripts (e.g. rc.sysinit or initrd).
Diffstat (limited to 'liblvm')
-rw-r--r-- | liblvm/lvm_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liblvm/lvm_base.c b/liblvm/lvm_base.c index 733d4d54..1b2ed9fc 100644 --- a/liblvm/lvm_base.c +++ b/liblvm/lvm_base.c @@ -50,7 +50,7 @@ lvm_t lvm_init(const char *system_dir) /* FIXME: locking_type config option needed? */ /* initialize locking */ - if (!init_locking(-1, cmd)) { + if (!init_locking(-1, cmd, 0)) { /* FIXME: use EAGAIN as error code here */ lvm_quit((lvm_t) cmd); return NULL; |