From bb27bb081e79334861192b6e02c51fd70440c65e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 5 Jun 2012 18:23:14 +0200 Subject: s3:smbd: let file_close_pid/file_close_user take a uint64_t vuid metze --- source3/smbd/files.c | 4 ++-- source3/smbd/proto.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/smbd/files.c b/source3/smbd/files.c index d6713f7d6a..33adaea757 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -173,7 +173,7 @@ void file_close_conn(connection_struct *conn) ****************************************************************************/ void file_close_pid(struct smbd_server_connection *sconn, uint16 smbpid, - int vuid) + uint64_t vuid) { files_struct *fsp, *next; @@ -249,7 +249,7 @@ bool file_init(struct smbd_server_connection *sconn) Close files open by a specified vuid. ****************************************************************************/ -void file_close_user(struct smbd_server_connection *sconn, int vuid) +void file_close_user(struct smbd_server_connection *sconn, uint64_t vuid) { files_struct *fsp, *next; diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index e7c8172918..5327b06b28 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -368,10 +368,10 @@ NTSTATUS file_new(struct smb_request *req, connection_struct *conn, files_struct **result); void file_close_conn(connection_struct *conn); void file_close_pid(struct smbd_server_connection *sconn, uint16 smbpid, - int vuid); + uint64_t vuid); bool file_init_global(void); bool file_init(struct smbd_server_connection *sconn); -void file_close_user(struct smbd_server_connection *sconn, int vuid); +void file_close_user(struct smbd_server_connection *sconn, uint64_t vuid); struct files_struct *files_forall( struct smbd_server_connection *sconn, struct files_struct *(*fn)(struct files_struct *fsp, -- cgit