shadow_copy2: fix shadow_copy2_convert() in the classical case.
commita8378b0d58d149fa32847eb80d001d0d89c089a2
authorMichael Adam <obnox@samba.org>
Thu, 23 May 2013 14:23:03 +0000 (23 16:23 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Jan 2014 09:17:22 +0000 (13 10:17 +0100)
tree2c644fffc60b639fdfb0c3a5ec897da86eccc1e0
parent39e8999828b677f80c47cfc2bd6bd9cba9090338
shadow_copy2: fix shadow_copy2_convert() in the classical case.

I.e. the non-snapdirseverywhere case.
This in particular fixes the case of a snapdir hierarchy
that is parallel to the share or mountpoint and not subordinate.

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