From c69f92d16d57c2387d31b5dfd01aab0685a671d0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 24 Aug 2009 20:57:37 -0700 Subject: Second attempt at fix for bug 6529 - Offline files conflict with Vista and Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy. --- source3/smbd/open.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source3/smbd/open.c') diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 9b4eedf432..045635535f 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -3284,12 +3284,8 @@ static NTSTATUS create_file_unixpath(connection_struct *conn, /* Try and make a create timestamp, if required. */ if ((info == FILE_WAS_CREATED) || (info == FILE_WAS_OVERWRITTEN)) { if (lp_store_create_time(SNUM(conn))) { - struct timespec ts = smb_fname->st.st_ex_btime; - if (!conn->hires_timestamps_avail) { - round_timespec(&ts); - } set_create_timespec_ea(conn, fsp, - smb_fname, ts); + smb_fname, smb_fname->st.st_ex_btime); } } -- cgit