vfs_fruit: refactor fruit_unlink()
authorRalph Boehme <slow@samba.org>
Fri, 2 Dec 2016 08:00:31 +0000 (09:00 +0100)
committerUri Simchoni <uri@samba.org>
Wed, 1 Mar 2017 23:32:21 +0000 (00:32 +0100)
commit6730e1035ba740d0de413256a211937c3bd794e1
tree2b0790150f3466fed2677e262dd9fcf425e64725
parent8a9d0c541875d06254dc3a3039b20c8acac328ed
vfs_fruit: refactor fruit_unlink()

Refactor fruit_unlink() addin helper functions for all fruit:metadata
and fruit:resource settings.

No change in behaviour for fruit:metadata=netatalk and
fruit:resource=file (both the default), but fixes behaviour for the
other cases.

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