s3/smbd: remove copy-chunk chunk merging optimisation
commit2ad11c6920fada646cd174b53efa4cf590b80901
authorRalph Boehme <slow@samba.org>
Fri, 9 Jun 2017 14:35:39 +0000 (9 16:35 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 3 Jul 2017 17:59:08 +0000 (3 19:59 +0200)
tree746995ddc7510a59342343aee32e0b267292d4b0
parent9c6550262394dca73b7f7c4bfa1038af8c866904
s3/smbd: remove copy-chunk chunk merging optimisation

As we won't have the source fsp around with the coming token based
offload read/write based code, we can't merge chunks as that requires
checking against the source file size.

We could still merge chunks without checking, but getting the error
handling correct would require comlicated logic for the SMB2 ioctl
copy-chunk error reporting.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_ioctl_network_fs.c