diff options
author | Volker Lendecke <vl@samba.org> | 2010-06-12 13:20:17 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-06-12 15:42:55 +0200 |
commit | 5d43180a550b7b4ad4613e99437cb92a1ef7ebd9 (patch) | |
tree | ea42f8c6d886585bcac53be10d71a3920181795e /source3/smbd | |
parent | f589909eb1ef6117007948f54c291775141be645 (diff) | |
download | samba-5d43180a550b7b4ad4613e99437cb92a1ef7ebd9.tar.gz samba-5d43180a550b7b4ad4613e99437cb92a1ef7ebd9.tar.bz2 samba-5d43180a550b7b4ad4613e99437cb92a1ef7ebd9.zip |
s3: Explicitly pass sconn to the remove_pending_change_notify_request_by_mid
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/notify.c | 4 | ||||
-rw-r--r-- | source3/smbd/nttrans.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 926bbb788b..dc13aadadd 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -297,10 +297,10 @@ static void change_notify_remove_request(struct smbd_server_connection *sconn, Delete entries by mid from the change notify pending queue. Always send reply. *****************************************************************************/ -void remove_pending_change_notify_requests_by_mid(uint64_t mid) +void remove_pending_change_notify_requests_by_mid( + struct smbd_server_connection *sconn, uint64_t mid) { struct notify_mid_map *map; - struct smbd_server_connection *sconn = smbd_server_conn; for (map = sconn->smb1.notify_mid_maps; map; map = map->next) { if (map->mid == mid) { diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index eae4901603..fdee584282 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -1278,7 +1278,7 @@ void reply_ntcancel(struct smb_request *req) START_PROFILE(SMBntcancel); srv_cancel_sign_response(req->sconn); - remove_pending_change_notify_requests_by_mid(req->mid); + remove_pending_change_notify_requests_by_mid(req->sconn, req->mid); remove_pending_lock_requests_by_mid_smb1(req->mid); DEBUG(3,("reply_ntcancel: cancel called on mid = %llu.\n", |