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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user