shadow_copy2: fix shadow_copy2_strip_snapshot() in the classical case
commit285e1e43ef8a26c8d638e721dd59893f71682465
authorMichael Adam <obnox@samba.org>
Wed, 29 May 2013 15:16:23 +0000 (29 17:16 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Jan 2014 09:15:54 +0000 (13 10:15 +0100)
tree9e60c4c376f8d8729df21027bbdfa4210af54d71
parent790fcacbec92ef62b39abdd0b28209271c4892f3
shadow_copy2: fix shadow_copy2_strip_snapshot() in the classical case

I.e., fix detection of already converted names.

This is done by using the shadow_copy2_snapshot_path() function
and comparing if the input string starts with that.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 4b8d9c65f45db426716763629f1e22b0eb859a99)
source3/modules/vfs_shadow_copy2.c