shadow_copy2: use stored mount_point instead of recalculating.
authorMichael Adam <obnox@samba.org>
Thu, 30 May 2013 22:46:01 +0000 (00:46 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 4 Oct 2013 20:21:33 +0000 (09:21 +1300)
commit6ccbc1347d3240fc3c874a1957b654456fb6234c
treeab4260e067462f2782ab45aaeb0ab5775b04cdb0
parent935120dbc01890e313e2902b13141d4a13fe96d5
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>
source3/modules/vfs_shadow_copy2.c