From 1ed22ba4b7998c1fc29476e931bd463f2bc1ba7e Mon Sep 17 00:00:00 2001 From: Gregor Beck Date: Thu, 7 Feb 2013 15:26:37 +0100 Subject: s3:smbd: add a scavenger process for disconnected durable handles Pair-Programmed-With: Stefan Metzmacher Signed-off-by: Gregor Beck Signed-off-by: Stefan Metzmacher Reviewed-by: Michael Adam --- lib/util/debug.c | 1 + lib/util/debug.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/util') 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 -- cgit