Not exposed but to be used internally.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
+ if (config->snapdir[0] == '/') {
+ config->snapdir_absolute = true;
+ if (config->snapdirseverywhere == true) {
+ DEBUG(1, (__location__ " Warning: An absolute snapdir "
+ "is incompatible with 'snapdirseverywhere', "
+ "setting 'snapdirseverywhere' to false.\n"));
+ config->snapdirseverywhere = false;
+ }
+ }
+
SMB_VFS_HANDLE_SET_DATA(handle, config,
NULL, struct shadow_copy2_config,
return -1);
SMB_VFS_HANDLE_SET_DATA(handle, config,
NULL, struct shadow_copy2_config,
return -1);