vfs_shadow_copy2: add shadow_copy2_strip_snapshot_converted
authorRalph Boehme <slow@samba.org>
Thu, 22 Nov 2018 10:04:54 +0000 (11:04 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Dec 2018 12:48:22 +0000 (13:48 +0100)
commit256d488b593278482d2d9bb2e75b6304d8562d0a
treeb15188d869bc6d2d37f3ed7cce81ae8c46dc9f27
parent0e355e3826fc0fa251a068ed5d620269168a308f
vfs_shadow_copy2: add shadow_copy2_strip_snapshot_converted

Can be used by callers to determine if a path is in fact pointing at a
file in a snapshot. Will be used in the next commit.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 14d6488d355e960ab02e72c414cbbc316f1db718)
source3/modules/vfs_shadow_copy2.c