vfs_shadow_copy2: check crossmountpoints against snapdirseverywhere
authorUri Simchoni <uri@samba.org>
Tue, 3 Nov 2015 08:42:00 +0000 (10:42 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 22 Jan 2016 00:54:06 +0000 (01:54 +0100)
commit6ed39851827f86a6a062942bf6fd82d045f0a1d4
tree359eede15328ae5914a892d9654028bbf38f8e9e
parent6cff00954763a7b266db5bab229b989e89abcee0
vfs_shadow_copy2: check crossmountpoints against snapdirseverywhere

If crossmountpoints is enabled, verify that snapdirseverywhere is
enabled too, since crossmountpoints has no meaning otherwise.

This obviates the check of crossmountpoints against other config
variables.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Jan 22 01:54:06 CET 2016 on sn-devel-144
source3/modules/vfs_shadow_copy2.c