From 7d90ae123af115bdcb1cdcd025cf73fdbf22b142 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 20 Dec 2012 14:42:55 -0800 Subject: Clean up struct connection_struct, make struct vuid_cache a pointer not inline. Change VFS ABI to 31 for 4.1.0. Signed-off-by: Jeremy Allison Reviewed-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- source3/include/vfs.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 2992c1db32..7da022ef37 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -147,7 +147,11 @@ /* Bump to version 30 - Samba 4.0.0 will ship with interface version 30 */ /* Leave at 30 - not yet released. Added conn->cwd to save vfs_GetWd() calls. */ /* Leave at 30 - not yet released. Changed sys_acl_blob_get_file interface to remove type */ -#define SMB_VFS_INTERFACE_VERSION 30 +/* Bump to version 31 - Samba 4.1.0 will ship with interface version 31 */ +/* Leave at 31 - not yet released. Make struct vuid_cache_entry in + connection_struct a pointer. */ + +#define SMB_VFS_INTERFACE_VERSION 31 /* All intercepted VFS operations must be declared as static functions inside module source @@ -306,7 +310,7 @@ typedef struct connection_struct { uint32_t cnum; /* an index passed over the wire */ struct share_params *params; bool force_user; - struct vuid_cache vuid_cache; + struct vuid_cache *vuid_cache; bool printer; bool ipc; bool read_only; /* Attributes for the current user of the share. */ -- cgit