summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-11-05 17:40:01 -0800
committerJeremy Allison <jra@samba.org>2009-11-05 17:40:01 -0800
commit0551284dc08eb93ef7b2b2227a45e5ec21d482fb (patch)
tree67ed2e7b74e693bca93f1d9143b6099e25d4eccb /source3/include/proto.h
parent2f09516a6be67d3e51ffc611ae2daa3210f07cd8 (diff)
downloadsamba-0551284dc08eb93ef7b2b2227a45e5ec21d482fb.tar.gz
samba-0551284dc08eb93ef7b2b2227a45e5ec21d482fb.tar.bz2
samba-0551284dc08eb93ef7b2b2227a45e5ec21d482fb.zip
Simplify the logic - remove extraneous argument and calls to set_close_write_time().
We were treating a file time set on close as a sticky write time set, and I don't think it is. I will add a torture test later to RAW-CLOSE to confirm this. Jeremy.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ef811e5774..5f275037fc 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6108,9 +6108,7 @@ NTSTATUS change_oem_password(struct samu *hnd, char *old_passwd, char *new_passw
/* The following definitions come from smbd/close.c */
-void set_close_write_time(struct share_mode_lock *lck,
- struct files_struct *fsp,
- struct timespec ts);
+void set_close_write_time(struct files_struct *fsp, struct timespec ts);
NTSTATUS close_file(struct smb_request *req, files_struct *fsp,
enum file_close_type close_type);
void msg_close_file(struct messaging_context *msg_ctx,