smb2_server: move struct msghdr to smbd_smb2_request_read_state
authorStefan Metzmacher <metze@samba.org>
Thu, 15 Apr 2021 07:53:03 +0000 (09:53 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 6 Sep 2023 19:30:35 +0000 (19:30 +0000)
commit948d19b09a75101ac6c050ad83cce401de324f2a
tree429fdfe4c9d4b91ff5fe10cb8fb9ed31ca9d63fc
parent16f46601b84428d86dde894d1c1179f96c74ace8
smb2_server: move struct msghdr to smbd_smb2_request_read_state

This makes the code a little bit faster, but the main reason
is the preparation of io_uring support, as it can't be on the
stack for async operations.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/globals.h
source3/smbd/smb2_server.c