shadow_copy2: use stored mount_point instead of recalculating.
commitdb8ea0afe3c16b92fecc5f46fa9a0785d162270a
authorMichael Adam <obnox@samba.org>
Thu, 30 May 2013 22:46:01 +0000 (31 00:46 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Jan 2014 09:15:54 +0000 (13 10:15 +0100)
tree25a56e5fc375349c31479d9cf47ba89114e84839
parent5e9daae74f15ef1836c2545cf7f624e2e0f22996
shadow_copy2: use stored mount_point instead of recalculating.

In the case of snapdirseverywhere but NOT crossmountpoints.

This spares stat calls.
And is the only correct thing to do if the mount point was
specified in the configuration.

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