Fix issue with aio where r/w lock wasn't kept across aio read operations.
authorJeremy Allison <jra@samba.org>
Mon, 5 Apr 2010 21:16:21 +0000 (14:16 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 5 Apr 2010 21:16:21 +0000 (14:16 -0700)
commitc75184b8a14ee686dacbf2dcf01eeade0327b648
tree6a895212a698b028006fd5247a5e9635f882c986
parent2754a8e2b60fb07ebec6384fc3c3a7c3450de5b3
Fix issue with aio where r/w lock wasn't kept across aio read operations.

Change schedule_aio_read_and_X/schedule_aio_write_and_X to
return NTSTATUS. Move the grant and release of the lock into
the aio code.

Jeremy
source3/include/proto.h
source3/smbd/aio.c
source3/smbd/reply.c