vfs_fruit: don't unlink 0-byte size truncated streams
authorRalph Boehme <slow@samba.org>
Sat, 20 Oct 2018 12:54:48 +0000 (14:54 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 31 Oct 2018 20:27:20 +0000 (21:27 +0100)
commit287082d739362ad068df37076712927ccd7ca90c
tree142a9fbcee58a1e966036fafb12640c818b33b6c
parent3195ff9547824dd129e3fbcbbb8823fb10a0a5d4
vfs_fruit: don't unlink 0-byte size truncated streams

This caused all sort of havoc with subsequent SMB request that acted on
the handle of the then deleted backend storage (file or blob, depending
on the used streams module).

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fruit.c