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>
Thu, 21 Jan 2016 10:19:01 +0000 (11:19 +0100)
commit73bba0b5a4e30397f7ee710cf4d6d44e704e1856
tree22d7c61f68a9cb255d3fb96c893981606127856c
parenta0dcac44e4432bd533673712ae76546471533e54
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>
source3/modules/vfs_shadow_copy2.c