summaryrefslogtreecommitdiff
path: root/source3/smbd/fileio.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-31 16:32:48 -0700
committerJeremy Allison <jra@samba.org>2007-10-31 16:32:48 -0700
commit0bb1a6ec2d963c2001230142692de8335c540434 (patch)
tree4bc7eb5bb0e086ded41065a414a69f7d733ef412 /source3/smbd/fileio.c
parent8f1f2f04c796a8659d93bafadefca4a98fee00f0 (diff)
downloadsamba-0bb1a6ec2d963c2001230142692de8335c540434.tar.gz
samba-0bb1a6ec2d963c2001230142692de8335c540434.tar.bz2
samba-0bb1a6ec2d963c2001230142692de8335c540434.zip
Note when we're setting change time, not write time, and send
message accordingly. Apart from not supporting create time we now pass the S4 RAW-NOTIFY torture. Jeremy. (This used to be commit 8a77f520fa03afa60eac2aaeab4babe7dd8db4f0)
Diffstat (limited to 'source3/smbd/fileio.c')
-rw-r--r--source3/smbd/fileio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c
index 74f2c6774f..8037510d80 100644
--- a/source3/smbd/fileio.c
+++ b/source3/smbd/fileio.c
@@ -153,7 +153,8 @@ static ssize_t real_write_file(struct smb_request *req,
*/
if (!null_timespec(fsp->pending_modtime)) {
- set_filetime(fsp->conn, fsp->fsp_name, fsp->pending_modtime);
+ set_filetime(fsp->conn, fsp->fsp_name,
+ fsp->pending_modtime);
/* If we didn't get the "set modtime" call ourselves, we must
store the last write time to restore on close. JRA. */