smbd: Fix a 100% loop at shutdown time
commit4e74c615d56465b5a57f65e6815cbdf0d0b2928a
authorVolker Lendecke <vl@samba.org>
Thu, 11 Jul 2013 14:22:26 +0000 (11 16:22 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 15 Jul 2013 21:04:19 +0000 (15 23:04 +0200)
treef45beacf7eb7fc949c548791225e1f4d274c4ef0
parent54ee31eae52e72373d28b9666e5680da5bd99da8
smbd: Fix a 100% loop at shutdown time

In the destructor of fsp->aio_requests[0] we put another request into
fsp->aio_requests[0]. Don't overwrite that with TALLOC_FREE.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jul 11 20:56:42 CEST 2013 on sn-devel-104
(cherry picked from commit 940395d38bcc348eb5f1be7ba03cd554d9d3bc93)

Fix bug #10013 - 940395d from master needs porting to 4.0 and 4.1.

Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-1-test): Mon Jul 15 23:04:19 CEST 2013 on sn-devel-104
source3/smbd/close.c