The Samba-Bugzilla – Attachment 8612 Details for
Bug 9701
vfs_catia is not working anymore (due to a former regression)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add vfs_catia debug class
0001-vfs_catia-add-debug-class-for-that-module.patch (text/plain), 1.51 KB, created by
Guenter Kukkukk
on 2013-03-06 04:47:07 UTC
(
hide
)
Description:
add vfs_catia debug class
Filename:
MIME Type:
Creator:
Guenter Kukkukk
Created:
2013-03-06 04:47:07 UTC
Size:
1.51 KB
patch
obsolete
>From 0d8610f5598d6f14d423da8b15f2f653dbe80c20 Mon Sep 17 00:00:00 2001 >From: Guenter Kukkukk <kukks@samba.org> >Date: Wed, 27 Feb 2013 05:34:05 +0100 >Subject: [PATCH 1/5] vfs_catia: add debug class for that module > > >Signed-off-by: Guenter Kukkukk <kukks@samba.org> >--- > source3/modules/vfs_catia.c | 24 +++++++++++++++++++++++- > 1 files changed, 23 insertions(+), 1 deletions(-) > >diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c >index b9f241e..617079b 100644 >--- a/source3/modules/vfs_catia.c >+++ b/source3/modules/vfs_catia.c >@@ -29,6 +29,11 @@ > #include "includes.h" > #include "smbd/smbd.h" > >+static int vfs_catia_debug_level = DBGC_VFS; >+ >+#undef DBGC_CLASS >+#define DBGC_CLASS vfs_catia_debug_level >+ > #define GLOBAL_SNUM 0xFFFFFFF > #define MAP_SIZE 0xFF > #define MAP_NUM 0x101 /* max unicode charval / MAP_SIZE */ >@@ -929,6 +934,23 @@ static struct vfs_fn_pointers vfs_catia_fns = { > > NTSTATUS vfs_catia_init(void) > { >- return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "catia", >+ NTSTATUS ret; >+ >+ ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "catia", > &vfs_catia_fns); >+ if (!NT_STATUS_IS_OK(ret)) >+ return ret; >+ >+ vfs_catia_debug_level = debug_add_class("catia"); >+ if (vfs_catia_debug_level == -1) { >+ vfs_catia_debug_level = DBGC_VFS; >+ DEBUG(0, ("vfs_catia: Couldn't register custom debugging " >+ "class!\n")); >+ } else { >+ DEBUG(10, ("vfs_catia: Debug class number of " >+ "'catia': %d\n", vfs_catia_debug_level)); >+ } >+ >+ return ret; >+ > } >-- >1.7.3.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9701
:
8612
|
8613
|
8614
|
8615
|
8616
|
8618
|
8619
|
8623