Locking Worries

Jeremy Allison jeremy at valinux.com
Tue Jul 24 01:20:06 GMT 2001


	I believe I've found the problem. Please apply
the following patch and test again the downloading of
profiles. We were making an assumption in the oplock
break code path that was invalid (ie. we were assuming
we could infer a non-levelII oplock when such an oplock
was detected - this may no longer be valid once we've
processed the break and we're going to iterate round
the loop again anyway).

See if this changes the behaviour.



Index: smbd/open.c
RCS file: /data/cvs/samba/source/smbd/open.c,v
retrieving revision
diff -u -r1.62.4.20 open.c
--- smbd/open.c 5 Jul 2001 23:37:07 -0000
+++ smbd/open.c 24 Jul 2001 01:11:16 -0000
@@ -514,7 +514,6 @@
         broke_oplock = True;
-        *p_all_current_opens_are_level_II = False;
       } else if (!LEVEL_II_OPLOCK_TYPE(share_entry->op_type)) {

Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba-technical mailing list