]> sourceware.org Git - lvm2.git/commit
lvm2_activation_generator: don't create full context for liblvm2app
authorDavid Teigland <teigland@redhat.com>
Tue, 17 May 2016 17:03:25 +0000 (12:03 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 18 May 2016 14:05:26 +0000 (09:05 -0500)
commit591ef307b30c2d828b2a0c59918203f970974bbb
treedbf1a198919de08a28067cf61f680e6e9b0fdf3d
parent7fd4119d24eee55323e888dd78c70257d7c97a15
lvm2_activation_generator: don't create full context for liblvm2app

Don't use lvm_init() to create a full command context, which
does a lot of command setup (like connecting to daemons), which
is unnecessary for simply reading a value from lvm.conf.

Passing a NULL context arg to the lvm_config_ function is now
allowed, in which case lvm.conf is read without doing lvm
command setup.
scripts/lvm2_activation_generator_systemd_red_hat.c
This page took 0.03658 seconds and 5 git commands to generate.