svn commit: samba r14428 - branches/SAMBA_3_0/source/locking trunk/source/locking

jpeach at samba.org jpeach at samba.org
Wed Mar 15 05:49:33 GMT 2006


Author: jpeach
Date: 2006-03-15 05:49:32 +0000 (Wed, 15 Mar 2006)
New Revision: 14428

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

Log:
Call fill_share_mode_entry with NO_OPLOCK instead of 0.

Modified:
   branches/SAMBA_3_0/source/locking/locking.c
   trunk/source/locking/locking.c


Changeset:
Modified: branches/SAMBA_3_0/source/locking/locking.c
===================================================================
--- branches/SAMBA_3_0/source/locking/locking.c	2006-03-15 05:49:02 UTC (rev 14427)
+++ branches/SAMBA_3_0/source/locking/locking.c	2006-03-15 05:49:32 UTC (rev 14428)
@@ -982,7 +982,7 @@
 {
 	struct share_mode_entry entry, *e;
 
-	fill_share_mode_entry(&entry, fsp, 0, 0);
+	fill_share_mode_entry(&entry, fsp, 0, NO_OPLOCK);
 
 	e = find_share_mode_entry(lck, &entry);
 	if (e == NULL) {
@@ -1018,7 +1018,7 @@
 {
 	struct share_mode_entry entry, *e;
 
-	fill_share_mode_entry(&entry, fsp, 0, 0);
+	fill_share_mode_entry(&entry, fsp, 0, NO_OPLOCK);
 
 	e = find_share_mode_entry(lck, &entry);
 	if (e == NULL) {
@@ -1039,7 +1039,7 @@
 {
 	struct share_mode_entry entry, *e;
 
-	fill_share_mode_entry(&entry, fsp, 0, 0);
+	fill_share_mode_entry(&entry, fsp, 0, NO_OPLOCK);
 
 	e = find_share_mode_entry(lck, &entry);
 	if (e == NULL) {

Modified: trunk/source/locking/locking.c
===================================================================
--- trunk/source/locking/locking.c	2006-03-15 05:49:02 UTC (rev 14427)
+++ trunk/source/locking/locking.c	2006-03-15 05:49:32 UTC (rev 14428)
@@ -1043,7 +1043,7 @@
 {
 	struct share_mode_entry entry, *e;
 
-	fill_share_mode_entry(&entry, fsp, 0, 0);
+	fill_share_mode_entry(&entry, fsp, 0, NO_OPLOCK);
 
 	e = find_share_mode_entry(lck, &entry);
 	if (e == NULL) {
@@ -1079,7 +1079,7 @@
 {
 	struct share_mode_entry entry, *e;
 
-	fill_share_mode_entry(&entry, fsp, 0, 0);
+	fill_share_mode_entry(&entry, fsp, 0, NO_OPLOCK);
 
 	e = find_share_mode_entry(lck, &entry);
 	if (e == NULL) {
@@ -1100,7 +1100,7 @@
 {
 	struct share_mode_entry entry, *e;
 
-	fill_share_mode_entry(&entry, fsp, 0, 0);
+	fill_share_mode_entry(&entry, fsp, 0, NO_OPLOCK);
 
 	e = find_share_mode_entry(lck, &entry);
 	if (e == NULL) {



More information about the samba-cvs mailing list