summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/dosmode.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c
index e5d6bc32e8..10249f4634 100644
--- a/source3/smbd/dosmode.c
+++ b/source3/smbd/dosmode.c
@@ -739,13 +739,6 @@ int file_set_dosmode(connection_struct *conn, struct smb_filename *smb_fname,
dosmode &= ~FILE_ATTRIBUTE_OFFLINE;
old_mode &= ~FILE_ATTRIBUTE_OFFLINE;
- if (old_mode == dosmode &&
- (timespec_compare(&new_create_timespec,
- &smb_fname->st.st_ex_btime) == 0)) {
- smb_fname->st.st_ex_mode = unixmode;
- return(0);
- }
-
smb_fname->st.st_ex_btime = new_create_timespec;
#ifdef HAVE_STAT_DOS_FLAGS