s3: smbd: For FSCTL calls that go async, add the outstanding tevent_reqs to the aio...
authorJeremy Allison <jra@samba.org>
Wed, 11 Aug 2021 20:58:13 +0000 (13:58 -0700)
committerJule Anger <janger@samba.org>
Tue, 17 Aug 2021 09:07:18 +0000 (09:07 +0000)
commit618fd6c259458f97530fcde0fb6600e70e6f2478
treec8e50d963bde6a20af1146cd589242fa91e8636a
parent3d912fe86cfdb9f6d45645bf0122a814f79cb3a7
s3: smbd: For FSCTL calls that go async, add the outstanding tevent_reqs to the aio list on the file handle.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14769
RN: smbd panic on force-close share during offload write

Back-ported from c013509680742ff45b2f5965a5564015da7d466b.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(v4-14-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-14-test): Tue Aug 17 09:07:18 UTC 2021 on sn-devel-184
source3/smbd/smb2_ioctl.c