summaryrefslogtreecommitdiffstats
path: root/source3/modules/vfs_full_audit.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-05-13 12:05:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:54 -0500
commit67e03ce4663378e6c40b6bb134a5a820ac6bc8d0 (patch)
tree5aa8f0b9642a1b3d55d081970bac43a5aec9306e /source3/modules/vfs_full_audit.c
parent4853a5d509b089eb7390b70daafea57b1077e16b (diff)
downloadsamba-67e03ce4663378e6c40b6bb134a5a820ac6bc8d0.tar.gz
samba-67e03ce4663378e6c40b6bb134a5a820ac6bc8d0.tar.xz
samba-67e03ce4663378e6c40b6bb134a5a820ac6bc8d0.zip
r6777: Fix vfs_full_audit.c after jra's change.
Volker (This used to be commit 16af4645822f1b3cf39c6dffbbb8ef6b1c9d7751)
Diffstat (limited to 'source3/modules/vfs_full_audit.c')
-rw-r--r--source3/modules/vfs_full_audit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index 430ec8278a..3c0098408e 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -497,6 +497,9 @@ static struct {
{ 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 @@ static void init_bitmap(struct bitmap **bm, const char **ops)
}
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;