vfs_fruit: fix fruit_pread with metadata=stream
authorRalph Boehme <slow@samba.org>
Wed, 16 Nov 2016 08:34:13 +0000 (09:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 6 Mar 2017 18:40:20 +0000 (19:40 +0100)
commit295f1c74247235e7090512e48802283de9088d7b
treeeca5f788adeea6cc7e309fc824c0da263a81874b
parent1b2b24d6b8c3d71ade3c967e72915ceb852eb847
vfs_fruit: fix fruit_pread with metadata=stream

This make the test "fix offset and len handling for AFP_AfpInfo stream"
pass with fruit:metadata=stream.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12427

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
(cherry picked from commit d0eed8e73ff39acc6dca70a44f00f81d8ca564fd)
source3/modules/vfs_fruit.c