patch from metze: add a 'vfs' debug class
authorAndrew Bartlett <abartlet@samba.org>
Fri, 6 Sep 2002 11:58:18 +0000 (11:58 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 6 Sep 2002 11:58:18 +0000 (11:58 +0000)
(This used to be commit 601b56e04fddd9ddfb9be5b0a625d6d279df7f4c)

source3/include/debug.h
source3/lib/debug.c
source3/smbd/vfs-wrap.c
source3/smbd/vfs.c

index a92614370126c110d4167344f4f9dcb9a4da0285..4b0b4b1ac47770b639b84651491349062bbda92c 100644 (file)
@@ -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
index c8a4721bce2e5bb0ca0d652cbe346e7e0088c798..f4f3ee2f9f94c9ac7f28d6b7385286d0a42f58ce 100644 (file)
@@ -156,6 +156,7 @@ static const char *default_classname_table[] = {
        "sam",               /* DBGC_SAM          */
        "auth",              /* DBGC_AUTH         */
        "winbind",           /* DBGC_WINBIND      */
+       "vfs",               /* DBGC_VFS          */
        NULL
 };
 
index 394086dc075502adf57e9c9a4f72946589501d6c..6878a42b485f57a7af3d98496d5afaa832f9778e 100644 (file)
 
 #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
index 686499288d72dafbf82fb799a7947e87568d933f..6869c618612276fbb10a74d2cbe20de5c569ce55 100644 (file)
 
 #include "includes.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_VFS
+
+
 /* Some structures to help us initialise the vfs operations table */
 
 struct vfs_syminfo {