svn commit: samba r6777 - in branches/SAMBA_3_0/source/modules: .

vlendec at samba.org vlendec at samba.org
Fri May 13 12:05:14 GMT 2005


Author: vlendec
Date: 2005-05-13 12:05:14 +0000 (Fri, 13 May 2005)
New Revision: 6777

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6777

Log:
Fix vfs_full_audit.c after jra's change.

Volker
Modified:
   branches/SAMBA_3_0/source/modules/vfs_full_audit.c


Changeset:
Modified: branches/SAMBA_3_0/source/modules/vfs_full_audit.c
===================================================================
--- branches/SAMBA_3_0/source/modules/vfs_full_audit.c	2005-05-13 11:56:36 UTC (rev 6776)
+++ branches/SAMBA_3_0/source/modules/vfs_full_audit.c	2005-05-13 12:05:14 UTC (rev 6777)
@@ -497,6 +497,9 @@
 	{ SMB_VFS_OP_GET_SHADOW_COPY_DATA,	"get_shadow_copy_data" },
 	{ SMB_VFS_OP_OPENDIR,	"opendir" },
 	{ SMB_VFS_OP_READDIR,	"readdir" },
+	{ SMB_VFS_OP_SEEKDIR,   "seekdir" },
+	{ SMB_VFS_OP_TELLDIR,   "telldir" },
+	{ SMB_VFS_OP_REWINDDIR, "rewinddir" },
 	{ SMB_VFS_OP_MKDIR,	"mkdir" },
 	{ SMB_VFS_OP_RMDIR,	"rmdir" },
 	{ SMB_VFS_OP_CLOSEDIR,	"closedir" },
@@ -648,6 +651,11 @@
 		}
 
 		for (i=0; i<SMB_VFS_OP_LAST; i++) {
+			if (vfs_op_names[i].name == NULL) {
+				smb_panic("vfs_full_audit.c: name table not "
+					  "in sync with vfs.h\n");
+			}
+
 			if (strequal(*ops, vfs_op_names[i].name)) {
 				bitmap_set(*bm, i);
 				found = True;



More information about the samba-cvs mailing list