diff options
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; |