vfs_fruit: Don't unlink the main file
authorVolker Lendecke <vl@samba.org>
Tue, 7 Aug 2018 13:10:31 +0000 (15:10 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 11:35:28 +0000 (13:35 +0200)
commit17ed5e06c7fe1085067e7bff8066f91aabbf2855
tree26db185093b95b7ca8c4e4e198567cfc29c09592
parent3d8fdc38453adb7a323b342c40226686bc9f3b41
vfs_fruit: Don't unlink the main file

The original fix for bug 13441 was missing a check that verifies that
fruit_ftruncate() is actually called on a stream.

Follow-up to

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

Pair-Programmed-With: Volker Lendecke <vl@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Aug 23 15:28:48 CEST 2018 on sn-devel-144

(cherry picked from commit 8c14234871820eacde46670d722a676fb5f3a46c)
selftest/knownfail.d/samba3.vfs.fruit
source3/modules/vfs_fruit.c