diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-03-12 15:32:47 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-04-07 12:29:25 +0200 |
commit | 2ccf50256e31bd7b9da0f7a7c223bebca5bca062 (patch) | |
tree | cce0d5430e82941b8195e6952fd2704241f4ddfa /source3/smbd/trans2.c | |
parent | 4f715d110279098bb62cb3f5b0831f1a8868068a (diff) | |
download | samba-2ccf50256e31bd7b9da0f7a7c223bebca5bca062.tar.gz samba-2ccf50256e31bd7b9da0f7a7c223bebca5bca062.tar.xz samba-2ccf50256e31bd7b9da0f7a7c223bebca5bca062.zip |
locking: store the write time in the locking.tdb
This is needed to implement the strange write time update
logic later. We need to store 2 time timestamps to
distinguish between the time the file system had before
the first client opened the file and a forced timestamp update.
metze
(This used to be commit 6aaa2ce0eeb46f6735ec984a2e7aadde7a7f456d)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r-- | source3/smbd/trans2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index d7a0f6eff8..308ba271b8 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -6431,7 +6431,8 @@ static NTSTATUS smb_posix_unlink(connection_struct *conn, * non-POSIX opens return SHARING_VIOLATION. */ - lck = get_share_mode_lock(talloc_tos(), fsp->file_id, NULL, NULL); + lck = get_share_mode_lock(talloc_tos(), fsp->file_id, NULL, NULL, + NULL); if (lck == NULL) { DEBUG(0, ("smb_posix_unlink: Could not get share mode " "lock for file %s\n", fsp->fsp_name)); |