s3: Fix a panic when shutting down
commit4abccf0b65235d6a01c0dc194f06fac748ee4029
authorVolker Lendecke <vl@samba.org>
Fri, 17 Aug 2012 10:22:17 +0000 (17 12:22 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 7 Sep 2012 23:27:34 +0000 (8 01:27 +0200)
tree832c57ba6cf9d0ff622830d41caf01485114e989
parent0f284beb67680a152a86e0bec70808ee40e471dc
s3: Fix a panic when shutting down

When a client disconnects while we have aio open, there is no close
request that cleans up. We can't send out the replies anymore, so
just drop the aio requests that are pending.

Found using the new python lib writing multiple files simultaneously

TODO: check tdis and logoff

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Sep  8 01:27:34 CEST 2012 on sn-devel-104
source3/smbd/close.c