1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-20 16:23:51 +03:00

patch from metze: add a 'vfs' debug class

This commit is contained in:
Andrew Bartlett
-
parent d200770796
commit 601b56e04f
4 changed files with 10 additions and 1 deletions

View File

@@ -92,7 +92,7 @@ extern int DEBUGLEVEL;
#define DBGC_SAM 9 #define DBGC_SAM 9
#define DBGC_AUTH 10 #define DBGC_AUTH 10
#define DBGC_WINBIND 11 #define DBGC_WINBIND 11
#define DBGC_VFS 12
/* So you can define DBGC_CLASS before including debug.h */ /* So you can define DBGC_CLASS before including debug.h */
#ifndef DBGC_CLASS #ifndef DBGC_CLASS

View File

@@ -156,6 +156,7 @@ static const char *default_classname_table[] = {
"sam", /* DBGC_SAM */ "sam", /* DBGC_SAM */
"auth", /* DBGC_AUTH */ "auth", /* DBGC_AUTH */
"winbind", /* DBGC_WINBIND */ "winbind", /* DBGC_WINBIND */
"vfs", /* DBGC_VFS */
NULL NULL
}; };

View File

@@ -20,6 +20,10 @@
#include "includes.h" #include "includes.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
/* Check for NULL pointer parameters in vfswrap_* functions */ /* Check for NULL pointer parameters in vfswrap_* functions */
/* We don't want to have NULL function pointers lying around. Someone /* We don't want to have NULL function pointers lying around. Someone

View File

@@ -24,6 +24,10 @@
#include "includes.h" #include "includes.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS
/* Some structures to help us initialise the vfs operations table */ /* Some structures to help us initialise the vfs operations table */
struct vfs_syminfo { struct vfs_syminfo {