[PATCH] DBGC_VFS
Stefan (metze) Metzmacher
metze at metzemix.de
Fri Sep 6 09:03:00 GMT 2002
Hi Andrew here's the patch witch adds DBGC_VFS
metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>
-------------- next part --------------
diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=.#* HEAD/source/include/debug.h HEAD-fix/source/include/debug.h
--- HEAD/source/include/debug.h Wed Aug 28 12:47:32 2002
+++ HEAD-fix/source/include/debug.h Fri Sep 6 10:46:05 2002
@@ -92,7 +92,7 @@ extern int DEBUGLEVEL;
#define DBGC_SAM 9
#define DBGC_AUTH 10
#define DBGC_WINBIND 11
-
+#define DBGC_VFS 12
/* So you can define DBGC_CLASS before including debug.h */
#ifndef DBGC_CLASS
diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=.#* HEAD/source/lib/debug.c HEAD-fix/source/lib/debug.c
--- HEAD/source/lib/debug.c Mon Sep 2 15:06:55 2002
+++ HEAD-fix/source/lib/debug.c Fri Sep 6 10:45:32 2002
@@ -156,6 +156,7 @@ static const char *default_classname_tab
"sam", /* DBGC_SAM */
"auth", /* DBGC_AUTH */
"winbind", /* DBGC_WINBIND */
+ "vfs", /* DBGC_VFS */
NULL
};
diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=.#* HEAD/source/smbd/vfs-wrap.c HEAD-fix/source/smbd/vfs-wrap.c
--- HEAD/source/smbd/vfs-wrap.c Fri Apr 19 05:05:38 2002
+++ HEAD-fix/source/smbd/vfs-wrap.c Fri Sep 6 10:52:02 2002
@@ -20,6 +20,10 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_VFS
+
+
/* Check for NULL pointer parameters in vfswrap_* functions */
/* We don't want to have NULL function pointers lying around. Someone
diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=.#* HEAD/source/smbd/vfs.c HEAD-fix/source/smbd/vfs.c
--- HEAD/source/smbd/vfs.c Tue Aug 20 12:48:39 2002
+++ HEAD-fix/source/smbd/vfs.c Fri Sep 6 10:51:40 2002
@@ -24,6 +24,10 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_VFS
+
+
/* Some structures to help us initialise the vfs operations table */
struct vfs_syminfo {
More information about the samba-technical
mailing list