From ed1f7121a39d863066ef47e985b77fe3dbedbc9b Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Wed, 27 Apr 2005 18:32:37 +0000 Subject: r6502: add LOCKING debug class - pull PRINTINGDB class definition from trunk so our numbers don't get out of sync (This used to be commit 58e307664e02ebf0415f19ed625d2f166d9cb1cc) --- source3/smbd/reply.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'source3/smbd/reply.c') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index c3cb81ddfc4..aa33e59b7ea 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -2129,6 +2129,9 @@ int reply_readbraw(connection_struct *conn, char *inbuf, char *outbuf, int dum_s return -1; } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + /**************************************************************************** Reply to a lockread (core+ protocol). ****************************************************************************/ @@ -2222,6 +2225,9 @@ Returning short read of maximum allowed for compatibility with Windows 2000.\n", return(outsize); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ALL + /**************************************************************************** Reply to a read. ****************************************************************************/ @@ -2610,6 +2616,9 @@ int reply_writebraw(connection_struct *conn, char *inbuf,char *outbuf, int size, return(outsize); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + /**************************************************************************** Reply to a writeunlock (core+). ****************************************************************************/ @@ -2674,6 +2683,9 @@ int reply_writeunlock(connection_struct *conn, char *inbuf,char *outbuf, return outsize; } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ALL + /**************************************************************************** Reply to a write. ****************************************************************************/ @@ -3121,6 +3133,9 @@ int reply_writeclose(connection_struct *conn, return(outsize); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + /**************************************************************************** Reply to a lock. ****************************************************************************/ @@ -3201,6 +3216,9 @@ int reply_unlock(connection_struct *conn, char *inbuf,char *outbuf, int size, return(outsize); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ALL + /**************************************************************************** Reply to a tdis. ****************************************************************************/ @@ -4652,6 +4670,9 @@ int reply_setdir(connection_struct *conn, char *inbuf,char *outbuf, int dum_size return(outsize); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LOCKING + /**************************************************************************** Get a lock pid, dealing with large count requests. ****************************************************************************/ @@ -4989,6 +5010,9 @@ no oplock granted on this file (%s).\n", fsp->fnum, fsp->fsp_name)); return chain_reply(inbuf,outbuf,length,bufsize); } +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_ALL + /**************************************************************************** Reply to a SMBreadbmpx (read block multiplex) request. ****************************************************************************/ -- cgit