Change interface of schedule_smb2_aio_read() to allocate the return DATA_BLOB.
authorJeremy Allison <jra@samba.org>
Wed, 15 Dec 2010 00:32:10 +0000 (16:32 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 15 Dec 2010 00:38:16 +0000 (01:38 +0100)
commit14c70346fc88d05dfabc14b0a932632470fee6fe
treed1382cdcb7bf0cb0804a7f374b92044b30cc9a83
parent3bc1cf94e3a0febe8d3d53229aa49c3d8eb8c1b6
Change interface of schedule_smb2_aio_read() to allocate the return DATA_BLOB.
Change smb2_read code to allocate return DATA_BLOB just before the read.

Preparing for SMB2 sendfile change which will not need to allocate
return buffer.

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