[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Mon Feb 1 19:52:40 MST 2010
The branch, master has been updated
via f3ee151... Fix bug #7084 - Create time on directories not stored properly in an EA in new create time code.
from a35be8c... Torture test for bug 7084 - Create time on directories not stored properly in an EA in new create time code.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit f3ee1516e631274531439e0ab7c384d02aff789c
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 18:50:43 2010 -0800
Fix bug #7084 - Create time on directories not stored properly in an EA in new create time code.
Remove erroneous optimisation that caused no EA to be set
if calculated btime matched st_ex btime, and calculated DOS
attribute matched existing file attribute.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/dosmode.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c
index e5d6bc3..10249f4 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
--
Samba Shared Repository
More information about the samba-cvs
mailing list