1 From f9f68037d7138efd078dba7c23c4c9066c5ddacc Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Mon, 24 Oct 2016 09:32:36 +0200
4 Subject: [PATCH 44/44] glusterfs: daemonize
7 block/gluster.c | 8 +++++---
8 1 file changed, 5 insertions(+), 3 deletions(-)
10 diff --git a/block/gluster.c b/block/gluster.c
11 index 01b479f..6dcf926 100644
14 @@ -341,9 +341,11 @@ static struct glfs *qemu_gluster_glfs_init(BlockdevOptionsGluster *gconf,
18 - ret = glfs_set_logging(glfs, "-", gconf->debug_level);
21 + if (!is_daemonized()) {
22 + ret = glfs_set_logging(glfs, "-", gconf->debug_level);
28 ret = glfs_init(glfs);