diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-05 18:23:14 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-06 10:18:41 +0200 |
commit | bb27bb081e79334861192b6e02c51fd70440c65e (patch) | |
tree | 6eae081dfc6119757312cc2aea4dd11aecd3e7bb /source3/smbd | |
parent | 7d772064b42c93593d8a4f21489f672730858359 (diff) | |
download | samba-bb27bb081e79334861192b6e02c51fd70440c65e.tar.gz samba-bb27bb081e79334861192b6e02c51fd70440c65e.tar.bz2 samba-bb27bb081e79334861192b6e02c51fd70440c65e.zip |
s3:smbd: let file_close_pid/file_close_user take a uint64_t vuid
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/files.c | 4 | ||||
-rw-r--r-- | 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, |