The Samba-Bugzilla – Attachment 5254 Details for
Bug 7084
Create time on directories not stored properly in an EA in new create time code.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am format patch for 3.5.0.
0001-Fix-bug-7084-Create-time-on-directories-not-stored-p.patch (text/plain), 1.16 KB, created by
Jeremy Allison
on 2010-02-01 21:02:50 UTC
(
hide
)
Description:
git-am format patch for 3.5.0.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-02-01 21:02:50 UTC
Size:
1.16 KB
patch
obsolete
>From ea63f4ca4eb3b3e510a36781c1ae2583707daf1a Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Mon, 1 Feb 2010 18:50:43 -0800 >Subject: [PATCH] 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. >(cherry picked from commit f3ee1516e631274531439e0ab7c384d02aff789c) >--- > source3/smbd/dosmode.c | 7 ------- > 1 files changed, 0 insertions(+), 7 deletions(-) > >diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c >index aaef09b..c061b21 100644 >--- a/source3/smbd/dosmode.c >+++ b/source3/smbd/dosmode.c >@@ -731,13 +731,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 >-- >1.6.3.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 7084
: 5254