diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-14 04:32:57 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-14 04:32:57 +0000 |
commit | 82af221e4a7e456f580f16bc5d2fd904fc018c96 (patch) | |
tree | 1b0818867ea76a25e578345364186566c4f167c4 /source3/smbd | |
parent | 7cd74b07ef283a4ce2e6f6c98cc7096189a74f20 (diff) | |
download | samba-82af221e4a7e456f580f16bc5d2fd904fc018c96.tar.gz samba-82af221e4a7e456f580f16bc5d2fd904fc018c96.tar.bz2 samba-82af221e4a7e456f580f16bc5d2fd904fc018c96.zip |
we now pass all byte range locking tests
the last piece was to use a smb timeout slightly larger than the
locking timeout in bloking locks to prevent a race
(This used to be commit 1b54cb4a33a65e62c2e3189b78ef073869a60c75)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/close.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c index bfef7c5235..7f5769b368 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -115,6 +115,8 @@ static int close_normal_file(files_struct *fsp, BOOL normal_close) if(EXCLUSIVE_OPLOCK_TYPE(fsp->oplock_type)) release_file_oplock(fsp); + locking_close_file(fsp); + if(fd_attempt_close(fsp->fd_ptr,&err) == 0) last_reference = True; |