From: Samuel Cabrero Date: Tue, 13 Apr 2021 11:00:51 +0000 (+0200) Subject: s3: VFS: default: ntimes profile not ended when times not changed X-Git-Tag: tevent-0.11.0~1152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=564e066024deafebfe9cd7fbaa2478510b874a9b;p=thirdparty%2Fsamba.git s3: VFS: default: ntimes profile not ended when times not changed Signed-off-by: Samuel Cabrero Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 376d7f51ea1..3d5b520352e 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -2548,7 +2548,8 @@ static int vfswrap_ntimes(vfs_handle_struct *handle, &smb_fname->st.st_ex_atime) == 0) && (timespec_compare(&ft->mtime, &smb_fname->st.st_ex_mtime) == 0)) { - return 0; + result = 0; + goto out; } }