summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2013-02-07 15:26:37 +0100
committerMichael Adam <obnox@samba.org>2013-04-18 13:15:13 +0200
commit1ed22ba4b7998c1fc29476e931bd463f2bc1ba7e (patch)
tree0a148ac55120c72a786a8c71cdf1f04d403e38a1 /lib/util
parentf608bedfca4118b7e3606802df40e266bcc099d8 (diff)
downloadsamba-1ed22ba4b7998c1fc29476e931bd463f2bc1ba7e.tar.gz
samba-1ed22ba4b7998c1fc29476e931bd463f2bc1ba7e.tar.bz2
samba-1ed22ba4b7998c1fc29476e931bd463f2bc1ba7e.zip
s3:smbd: add a scavenger process for disconnected durable handles
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Gregor Beck <gbeck@sernet.de> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/debug.c1
-rw-r--r--lib/util/debug.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 7509f90c1f..6207b610c8 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -176,6 +176,7 @@ static const char *default_classname_table[] = {
"msdfs", /* DBGC_MSDFS */
"dmapi", /* DBGC_DMAPI */
"registry", /* DBGC_REGISTRY */
+ "scavenger", /* DBGC_SCAVENGER */
NULL
};
diff --git a/lib/util/debug.h b/lib/util/debug.h
index 256641852b..c61fd13165 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -79,9 +79,10 @@ bool dbghdr( int level, const char *location, const char *func);
#define DBGC_MSDFS 17
#define DBGC_DMAPI 18
#define DBGC_REGISTRY 19
+#define DBGC_SCAVENGER 20
/* Always ensure this is updated when new fixed classes area added, to ensure the array in debug.c is the right size */
-#define DBGC_MAX_FIXED 19
+#define DBGC_MAX_FIXED 20
/* So you can define DBGC_CLASS before including debug.h */
#ifndef DBGC_CLASS