git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:smb2_notify: don't call tevent_req_done() from smbd_smb2_notify_cancel()
[metze/samba/wip.git]
/
source3
/
smbd
/
smb2_notify.c
diff --git
a/source3/smbd/smb2_notify.c
b/source3/smbd/smb2_notify.c
index 72430eb955832e715f50ac3b00cd4e5e9026cf6e..961ee9dd1a9481f62799919d17060edbf577a0fc 100644
(file)
--- a/
source3/smbd/smb2_notify.c
+++ b/
source3/smbd/smb2_notify.c
@@
-357,10
+357,9
@@
static bool smbd_smb2_notify_cancel(struct tevent_req *req)
struct smbd_smb2_notify_state *state = tevent_req_data(req,
struct smbd_smb2_notify_state);
+ state->smb2req->cancelled = true;
smbd_notify_cancel_by_smbreq(state->smbreq);
- state->smb2req->cancelled = true;
- tevent_req_done(req);
return true;
}