s3: vfs: snapper: Add and use len_before_gmt, calculated as (p-name).
commit3e3b9be948d873696a1ab9c0cb859bd8911165f0
authorJeremy Allison <jra@samba.org>
Wed, 17 Aug 2016 17:53:08 +0000 (17 10:53 -0700)
committerDavid Disseldorp <ddiss@samba.org>
Thu, 18 Aug 2016 00:51:15 +0000 (18 02:51 +0200)
tree91b6d34b17bdb51fed118f1e1e75c63b735f27af
parentabf18f42dc398f5f17088de87fd0e681fd44ebeb
s3: vfs: snapper: Add and use len_before_gmt, calculated as (p-name).

Make the code closer to the same functionality in shadow_copy2.c:shadow_copy2_strip_snapshot().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12150

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/modules/vfs_snapper.c