From: Volker Lendecke Date: Mon, 28 Jul 2025 08:44:24 +0000 (+0200) Subject: vfs: Slightly streamline streams_xattr_renameat() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c70f4f4d839f98eed986d1d731addd98d0283fbe;p=thirdparty%2Fsamba.git vfs: Slightly streamline streams_xattr_renameat() We have strequal() for this Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c index ac01cc46043..da20997a6a5 100644 --- a/source3/modules/vfs_streams_xattr.c +++ b/source3/modules/vfs_streams_xattr.c @@ -659,8 +659,7 @@ static int streams_xattr_renameat(vfs_handle_struct *handle, } /* Don't rename if the streams are identical. */ - if (strcasecmp_m(smb_fname_src->stream_name, - smb_fname_dst->stream_name) == 0) { + if (strequal(smb_fname_src->stream_name, smb_fname_dst->stream_name)) { goto done; }