diff options
author | Milan Broz <mbroz@redhat.com> | 2010-03-17 14:45:28 +0000 |
---|---|---|
committer | Milan Broz <mbroz@redhat.com> | 2010-03-17 14:45:28 +0000 |
commit | 917c57e77bf7106703245ad1e441d3240b1ca3fd (patch) | |
tree | 5fb002be31231d51c36231bfe97e61f2114eb74a /liblvm/lvm_base.c | |
parent | acb4b5e4de3c49d36fe756f6fb9997ec179b89c2 (diff) | |
download | lvm2-917c57e77bf7106703245ad1e441d3240b1ca3fd.tar.gz lvm2-917c57e77bf7106703245ad1e441d3240b1ca3fd.tar.xz lvm2-917c57e77bf7106703245ad1e441d3240b1ca3fd.zip |
Disable long living process flag in lvm2app.
This option should be configurable, but for now
do not set it at all.
(lvm2app is used in udisks probers and there
cac cause several nasty races when trying to update
lvmcache during rescan.)
Diffstat (limited to 'liblvm/lvm_base.c')
-rw-r--r-- | liblvm/lvm_base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/liblvm/lvm_base.c b/liblvm/lvm_base.c index ac946928..733d4d54 100644 --- a/liblvm/lvm_base.c +++ b/liblvm/lvm_base.c @@ -32,7 +32,8 @@ lvm_t lvm_init(const char *system_dir) /* create context */ /* FIXME: split create_toolcontext */ - cmd = create_toolcontext(1, system_dir); + /* FIXME: make all globals configurable */ + cmd = create_toolcontext(0, system_dir); if (!cmd) return NULL; |