[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/gfs-kernel/src/gfs glock.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	wcheng sourceware org	2007-06-26 18:38:01

Modified files:
	gfs-kernel/src/gfs: glock.c 

Log message:
	Bugzilla 239729:
	
	Accidentally moved the wrong patch - fix previous check-in.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/glock.c.diff?cvsroot=cluster&r1=1.33&r2=1.34

--- cluster/gfs-kernel/src/gfs/glock.c	2007/06/26 17:50:06	1.33
+++ cluster/gfs-kernel/src/gfs/glock.c	2007/06/26 18:38:01	1.34
@@ -2653,8 +2653,7 @@
 	if (!sdp->sd_tune.gt_glock_purge)
 		purge_nr = 0;
 	else
-		purge_nr = (atomic_read(&sdp->sd_glock_count) -
-			atomic_read(&sdp->sd_glock_count)) *
+		purge_nr = atomic_read(&sdp->sd_glock_count) *
 			sdp->sd_tune.gt_glock_purge / 100;
 
 	for (x = 0; x < GFS_GL_HASH_SIZE; x++) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]