diff options
author | Stefan Metzmacher <metze@samba.org> | 2019-01-16 21:29:51 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-03-29 00:35:39 +0000 |
commit | 11f2583420310e0278188935f31be3131eb85fd4 (patch) | |
tree | 6a7df5ac214b426209000cd78e71bc2f6cfeca60 /source3/smbd/proto.h | |
parent | 12fb3ec1dd886c15977ae9eb0b2b25f2017db10d (diff) | |
download | samba-11f2583420310e0278188935f31be3131eb85fd4.tar.gz |
s3:smbd: fix max_buffer handling of initial notify requests
The max_buffer value is only evaluated on the first notify
request on a directory handle.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13864
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 29 00:35:39 UTC 2019 on sn-devel-144
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 3662a925dd6..fdb0ffabf75 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -542,7 +542,9 @@ void change_notify_reply(struct smb_request *req, void notify_callback(struct smbd_server_connection *sconn, void *private_data, struct timespec when, const struct notify_event *e); -NTSTATUS change_notify_create(struct files_struct *fsp, uint32_t filter, +NTSTATUS change_notify_create(struct files_struct *fsp, + uint32_t max_buffer_size, + uint32_t filter, bool recursive); NTSTATUS change_notify_add_request(struct smb_request *req, uint32_t max_param, |