From: Volker Lendecke Date: Fri, 26 May 2023 10:39:15 +0000 (+0200) Subject: vfs: Remove two "== true" X-Git-Tag: talloc-2.4.1~440 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ee821ae2b2606f5106b3bfecaa09ceaa87891d2;p=thirdparty%2Fsamba.git vfs: Remove two "== true" Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index 2a8f1cae022..2bbd3a5d35f 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -3304,7 +3304,7 @@ static int shadow_copy2_connect(struct vfs_handle_struct *handle, if (config->snapdir[0] == '/') { config->snapdir_absolute = true; - if (config->snapdirseverywhere == true) { + if (config->snapdirseverywhere) { DBG_WARNING("Warning: An absolute snapdir is " "incompatible with 'snapdirseverywhere', " "setting 'snapdirseverywhere' to " @@ -3312,7 +3312,7 @@ static int shadow_copy2_connect(struct vfs_handle_struct *handle, config->snapdirseverywhere = false; } - if (config->crossmountpoints == true) { + if (config->crossmountpoints) { DBG_WARNING("Warning: 'crossmountpoints' is not " "supported with an absolute snapdir. " "Disabling it.\n");