svn commit: samba r21726 - in branches: SAMBA_3_0/source/locking SAMBA_3_0_25/source/locking

jra at samba.org jra at samba.org
Tue Mar 6 22:14:11 GMT 2007


Author: jra
Date: 2007-03-06 22:14:09 +0000 (Tue, 06 Mar 2007)
New Revision: 21726

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

Log:
Fix stupid cut-n-paste typo. Thanks to volker for
being on the ball..... :-).
Jeremy.

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


Changeset:
Modified: branches/SAMBA_3_0/source/locking/locking.c
===================================================================
--- branches/SAMBA_3_0/source/locking/locking.c	2007-03-06 22:01:03 UTC (rev 21725)
+++ branches/SAMBA_3_0/source/locking/locking.c	2007-03-06 22:14:09 UTC (rev 21726)
@@ -325,7 +325,7 @@
 	}
 
 	SMB_ASSERT(fsp->current_lock_count > 0);
-	fsp->current_lock_count++;
+	fsp->current_lock_count--;
 
 	return NT_STATUS_OK;
 }

Modified: branches/SAMBA_3_0_25/source/locking/locking.c
===================================================================
--- branches/SAMBA_3_0_25/source/locking/locking.c	2007-03-06 22:01:03 UTC (rev 21725)
+++ branches/SAMBA_3_0_25/source/locking/locking.c	2007-03-06 22:14:09 UTC (rev 21726)
@@ -325,7 +325,7 @@
 	}
 
 	SMB_ASSERT(fsp->current_lock_count > 0);
-	fsp->current_lock_count++;
+	fsp->current_lock_count--;
 
 	return NT_STATUS_OK;
 }



More information about the samba-cvs mailing list