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 | fe4aa720181a43f7a636ca029680fab0c836b968 (patch) | |
tree | 14ba095f2278198e00a7d79b2248c5efd6403cee /source/smbd/close.c | |
parent | feb9bf86723bce7dd1e81250b92191c370228a45 (diff) | |
download | samba-fe4aa720181a43f7a636ca029680fab0c836b968.tar.gz samba-fe4aa720181a43f7a636ca029680fab0c836b968.tar.xz samba-fe4aa720181a43f7a636ca029680fab0c836b968.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.
Diffstat (limited to 'source/smbd/close.c')
-rw-r--r-- | source/smbd/close.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/smbd/close.c b/source/smbd/close.c index 6b72a8563a4..dd1a25293d8 100644 --- a/source/smbd/close.c +++ b/source/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. |