s3:smb2_read: let smb2_sendfile_send_data() behave like send_file_readX()
authorStefan Metzmacher <metze@samba.org>
Thu, 10 Jul 2014 19:08:06 +0000 (21:08 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 11 Jul 2014 20:57:17 +0000 (22:57 +0200)
commit7c5ea400ad1f280f5c338c31a0a893154340fdb3
treea0f442c6b116e993f458b4ec5fcdf18e09bc209b
parentfa066178868c7437b1b7e84abe3b545e53983c8f
s3:smb2_read: let smb2_sendfile_send_data() behave like send_file_readX()

We now pass the header to SMB_VFS_SENDFILE(), so we have to handle that also
in the fallback code.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10706

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jul 11 22:57:17 CEST 2014 on sn-devel-104
source3/smbd/smb2_read.c