diff options
author | Jeremy Allison <jra@samba.org> | 2009-11-17 14:55:02 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-11-17 14:55:02 -0800 |
commit | a770caed0ff66ddc2d63ac83d20f4cd7fcc2caf5 (patch) | |
tree | 479bcb278bcd0ccd20f9506c976d47cb6f41e356 /source3/smbd/reply.c | |
parent | a31838eb3c40f4b70c629f94620f435214e414d4 (diff) | |
download | samba-a770caed0ff66ddc2d63ac83d20f4cd7fcc2caf5.tar.gz samba-a770caed0ff66ddc2d63ac83d20f4cd7fcc2caf5.tar.xz samba-a770caed0ff66ddc2d63ac83d20f4cd7fcc2caf5.zip |
Remove "store create time" code, cause create time to be stored
in the "user.DOSATTRIB" EA. From the docs:
In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store
the create time for a file as well as the DOS attributes. This is done in a backwards compatible
way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this
extended attribute by earlier versions of Samba, but they will not be able to read the create
time stored there. Storing the create time separately from the normal filesystem meta-data
allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem.
Passes make test but will need more testing.
Jeremy.
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index d39edc56db..caa80f9ade 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -4980,7 +4980,6 @@ void reply_printopen(struct smb_request *req) { connection_struct *conn = req->conn; files_struct *fsp; - SMB_STRUCT_STAT sbuf; NTSTATUS status; START_PROFILE(SMBsplopen); @@ -5005,7 +5004,7 @@ void reply_printopen(struct smb_request *req) } /* Open for exclusive use, write only. */ - status = print_fsp_open(req, conn, NULL, req->vuid, fsp, &sbuf); + status = print_fsp_open(req, conn, NULL, req->vuid, fsp); if (!NT_STATUS_IS_OK(status)) { file_free(req, fsp); |