vfs_fruit: add and use is_adouble_file()
authorRalph Boehme <slow@samba.org>
Tue, 21 May 2019 09:39:18 +0000 (11:39 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 30 May 2019 20:19:26 +0000 (20:19 +0000)
commitad70c947c759aa0965ee57f973fb8dc1909e0e39
tree12bf81c2b828bba9214bc9cc8cc49feafebaf03e
parente266daaed149561b746dbb8d5e9523862f0057b5
vfs_fruit: add and use is_adouble_file()

This adds a helper function that checks whether the last component of a path is
an AppleDouble sidecar file with "._" name prefix.

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

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