oplock_break_level2 with unlocked share enty?
nadavd at exanet.com
Tue Jan 25 21:45:35 GMT 2005
On Tue, 2005-01-25 at 23:33, Jeremy Allison wrote:
> On Tue, Jan 25, 2005 at 09:12:16PM +0200, Nadav Danieli wrote:
> > Hi All,
> > I appears that when breaking our own oplock, oplock level II may be
> > removed while the share entry is unlocked.
> > Trace is as follow:
> > oplock_break_level2
> > smbd/oplock.c:647
> > oplock_break
> > smbd/oplock.c:722
> > request_oplock_break
> > smbd/oplock.c:994
> > open_mode_check
> > smbd/open.c:668
> Yes, I've confirmed this is a logic bug. I'll fix it for 3.0.11 proper.
> What version of Samba are you running ? I'll send you a point patch.
> Thanks a *lot* for finding this !
I currently use 3.0.9 sources, but tested 3.0.11pre2 and results are the
Only happen with kernel oplocks = no.
More information about the samba-technical