vfs_fruit: fix fruit_pwrite() with metadata=stream
authorRalph Boehme <slow@samba.org>
Tue, 15 Nov 2016 20:32:25 +0000 (21:32 +0100)
committerUri Simchoni <uri@samba.org>
Wed, 1 Mar 2017 23:32:20 +0000 (00:32 +0100)
commitb121fff1568b0365ed27655bcd600a8d82cc3489
treec73a0126e47867b56080c1e68001234b68134645
parent05d54dd71c9797e607c9fa3c5218c13755c7c652
vfs_fruit: fix fruit_pwrite() with metadata=stream

This makes the test "delete AFP_AfpInfo by writing all 0" 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>
source3/modules/vfs_fruit.c