diff options
author | Jeremy Allison <jra@samba.org> | 2001-08-22 00:29:40 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-08-22 00:29:40 +0000 |
commit | e4275a35a64fde95a3b59307572d44c8d53909ad (patch) | |
tree | 0460c54dfc40e3d982f0bc4c52e09a3bd2e398e0 /source3/smbd/close.c | |
parent | f8d0031ad221f879ad1046963458ae781b868a28 (diff) | |
download | samba-e4275a35a64fde95a3b59307572d44c8d53909ad.tar.gz samba-e4275a35a64fde95a3b59307572d44c8d53909ad.tar.bz2 samba-e4275a35a64fde95a3b59307572d44c8d53909ad.zip |
Fixed the (incorrect) paranioa fix I put in for the fcntl lock spin.
Don't delete a share mode that failed to remove the oplock (doh!),
just set the oplock entry to zero....
Jeremy.
(This used to be commit fe4aa720181a43f7a636ca029680fab0c836b968)
Diffstat (limited to 'source3/smbd/close.c')
-rw-r--r-- | source3/smbd/close.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 6b72a8563a..dd1a25293d 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -153,6 +153,9 @@ static int close_normal_file(files_struct *fsp, BOOL normal_close) lock_share_entry_fsp(fsp); share_entry_count = del_share_mode(fsp, &share_entry); + DEBUG(10,("close_normal_file: share_entry_count = %d for file %s\n", + share_entry_count, fsp->fsp_name )); + /* * We delete on close if it's the last open, and the * delete on close flag was set in the entry we just deleted. |