summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-05 15:50:21 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 10:18:41 +0200
commit19d05171fa689e160fa790eceaa2ed35bb976c9a (patch)
treeded611b9ea6ec3d44243166601917b66de6266f0
parent2477c73b62437fd8d5e1a8b9ee848736d4843044 (diff)
downloadsamba-19d05171fa689e160fa790eceaa2ed35bb976c9a.tar.gz
samba-19d05171fa689e160fa790eceaa2ed35bb976c9a.tar.bz2
samba-19d05171fa689e160fa790eceaa2ed35bb976c9a.zip
s3:smbd: let conn_clear_vuid_caches() take a uint64_t vuid
metze
-rw-r--r--source3/smbd/conn.c4
-rw-r--r--source3/smbd/proto.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c
index 12002e37a2..1344bac7a8 100644
--- a/source3/smbd/conn.c
+++ b/source3/smbd/conn.c
@@ -186,7 +186,7 @@ find_again:
Clear a vuid out of the connection's vuid cache
****************************************************************************/
-static void conn_clear_vuid_cache(connection_struct *conn, uint16_t vuid)
+static void conn_clear_vuid_cache(connection_struct *conn, uint64_t vuid)
{
int i;
@@ -231,7 +231,7 @@ static void conn_clear_vuid_cache(connection_struct *conn, uint16_t vuid)
Called from invalidate_vuid()
****************************************************************************/
-void conn_clear_vuid_caches(struct smbd_server_connection *sconn,uint16_t vuid)
+void conn_clear_vuid_caches(struct smbd_server_connection *sconn, uint64_t vuid)
{
connection_struct *conn;
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index a3d2ab0687..3bd8953320 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -151,7 +151,7 @@ connection_struct *conn_find(struct smbd_server_connection *sconn,
connection_struct *conn_new(struct smbd_server_connection *sconn);
void conn_close_all(struct smbd_server_connection *sconn);
bool conn_idle_all(struct smbd_server_connection *sconn, time_t t);
-void conn_clear_vuid_caches(struct smbd_server_connection *sconn, uint16 vuid);
+void conn_clear_vuid_caches(struct smbd_server_connection *sconn, uint64_t vuid);
void conn_free(connection_struct *conn);
void conn_force_tdis(struct smbd_server_connection *sconn, const char *sharename);
void msg_force_tdis(struct messaging_context *msg,