svn commit: samba r8976 - in trunk/source/smbd: .

vlendec at samba.org vlendec at samba.org
Wed Aug 3 03:41:05 GMT 2005


Author: vlendec
Date: 2005-08-03 03:41:04 +0000 (Wed, 03 Aug 2005)
New Revision: 8976

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8976

Log:
Remove some old stuff that has been superseded by an array in the
oplock-breaking smbd.

Volker

Modified:
   trunk/source/smbd/open.c


Changeset:
Modified: trunk/source/smbd/open.c
===================================================================
--- trunk/source/smbd/open.c	2005-08-03 03:28:10 UTC (rev 8975)
+++ trunk/source/smbd/open.c	2005-08-03 03:41:04 UTC (rev 8976)
@@ -822,13 +822,6 @@
 	for (i=0; i<num_share_modes; i++) {
 		uint16 op_type = share_modes[i].op_type;
 
-		if ((!second_try) && (op_type == WAITING_FOR_BREAK)) {
-			/* Someone already sent a request, also wait for it. */
-			fsp->oplock_type = WAITING_FOR_BREAK;
-			delay_it = True;
-			goto done;
-		}
-
 		if (EXCLUSIVE_OPLOCK_TYPE(op_type)) {
 			if (is_delete_request(fsp)) {
 				delay_it = BATCH_OPLOCK_TYPE(op_type);



More information about the samba-cvs mailing list