Oplock bug?

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jul 18 20:59:57 GMT 2005


On Mon, Jul 18, 2005 at 12:44:58PM -0700, Jeremy Allison wrote:
> Ok, looking closely at this - you ran into one of my paranoia
> defenses when I was creating the original code. There is no
> real reason to keep an independent count of the number of
> outstanding oplocks - only paranoia to ensure the numbers
> match. We could just ignore that test and debug statement
> and always call oplock_break(), which would return True
> on not finding the oplock - then return the message 
> and the logic would look much simpler.

Hmmmm. Sorry...

But then the comment is really a bit misleading :-)

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050718/91ab6767/attachment.bin


More information about the samba-technical mailing list