diff options
-rw-r--r-- | source3/include/debug.h | 2 | ||||
-rw-r--r-- | source3/lib/debug.c | 1 | ||||
-rw-r--r-- | source3/smbd/vfs-wrap.c | 4 | ||||
-rw-r--r-- | source3/smbd/vfs.c | 4 |
4 files changed, 10 insertions, 1 deletions
diff --git a/source3/include/debug.h b/source3/include/debug.h index a926143701..4b0b4b1ac4 100644 --- a/source3/include/debug.h +++ b/source3/include/debug.h @@ -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 --git a/source3/lib/debug.c b/source3/lib/debug.c index c8a4721bce..f4f3ee2f9f 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -156,6 +156,7 @@ static const char *default_classname_table[] = { "sam", /* DBGC_SAM */ "auth", /* DBGC_AUTH */ "winbind", /* DBGC_WINBIND */ + "vfs", /* DBGC_VFS */ NULL }; diff --git a/source3/smbd/vfs-wrap.c b/source3/smbd/vfs-wrap.c index 394086dc07..6878a42b48 100644 --- a/source3/smbd/vfs-wrap.c +++ b/source3/smbd/vfs-wrap.c @@ -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 --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 686499288d..6869c61861 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -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 { |