From 79842437684be380407661fc27e64f223a326b18 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 12 Apr 2010 21:40:28 -0700 Subject: Move to using 64-bit mid values in our internal open file database. This will allow us to share logic much easier between SMB1 and SMB2 servers. Jeremy --- source3/smbd/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/notify.c') diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 0c75769594..554591fc98 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -45,7 +45,7 @@ static void notify_fsp(files_struct *fsp, uint32 action, const char *name); struct notify_mid_map { struct notify_mid_map *prev, *next; struct notify_change_request *req; - uint16 mid; + uint64_t mid; }; static bool notify_change_record_identical(struct notify_change *c1, @@ -297,7 +297,7 @@ static void change_notify_remove_request(struct notify_change_request *remove_re Delete entries by mid from the change notify pending queue. Always send reply. *****************************************************************************/ -void remove_pending_change_notify_requests_by_mid(uint16 mid) +void remove_pending_change_notify_requests_by_mid(uint64_t mid) { struct notify_mid_map *map; struct smbd_server_connection *sconn = smbd_server_conn; -- cgit