vfs_fruit: fix fruit_ftruncate with metadata=stream
authorRalph Boehme <slow@samba.org>
Tue, 15 Nov 2016 19:32:05 +0000 (20:32 +0100)
committerUri Simchoni <uri@samba.org>
Wed, 1 Mar 2017 23:32:20 +0000 (00:32 +0100)
commit04feedb7f6e4519352fdd901356e6e53d97896d5
treebbc8b813afbd532c1c34508c61a6096f9925f7d7
parentd0eed8e73ff39acc6dca70a44f00f81d8ca564fd
vfs_fruit: fix fruit_ftruncate with metadata=stream

With this the test "setinfo eof AFP_AfpInfo" passed 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