Skip to contentSkip to conversation

Disable long living process flag in lvm2app.

PATCH New Milan Broz 1 participant 1 message Mar 15, 2010

lore
Share & tools
lore

Milan Broz

author
#0 lore raw

PATCH 1/1 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(-)
liblvm/lvm_base.c +1 -1
index ac94692..da07e81 100644
@@ -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;
 
Signature · 1 line
1.7.0