[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] [PATCH] 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.)
---
 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 ac94692..da07e81 100644
--- a/liblvm/lvm_base.c
+++ b/liblvm/lvm_base.c
@@ -32,7 +32,7 @@ lvm_t lvm_init(const char *system_dir)
 
 	/* create context */
 	/* FIXME: split create_toolcontext */
-	cmd = create_toolcontext(1, system_dir);
+	cmd = create_toolcontext(0, system_dir);
 	if (!cmd)
 		return NULL;
 
-- 
1.7.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]