[PATCH] smbd: Avoid calling notify_filter_string for low debuglevels
Volker Lendecke
Volker.Lendecke at SerNet.DE
Mon Dec 2 13:33:41 MST 2013
Hi!
Please review & push!
Thanks,
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From 92152fbe15c372af7b7eab3314aa93f4cea4c74f Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Mon, 2 Dec 2013 21:32:47 +0100
Subject: [PATCH] smbd: Avoid calling notify_filter_string for low debuglevels
Signed-off-by: Volker Lendecke <vl at samba.org>
---
source3/smbd/smb2_notify.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c
index 81aa615..77399ef 100644
--- a/source3/smbd/smb2_notify.c
+++ b/source3/smbd/smb2_notify.c
@@ -195,7 +195,7 @@ static struct tevent_req *smbd_smb2_notify_send(TALLOC_CTX *mem_ctx,
state->smbreq = smbreq;
smbreq->async_priv = (void *)req;
- {
+ if (DEBUGLEVEL >= 3) {
char *filter_string;
filter_string = notify_filter_string(NULL, in_completion_filter);
--
1.7.9.5
More information about the samba-technical
mailing list