[Fedora-directory-commits] dsbuild/ds/db/files 4.2.52.5.diff, NONE, 1.1

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Fri Feb 8 21:51:55 UTC 2008


Author: rmeggins

Update of /cvs/dirsec/dsbuild/ds/db/files
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10545/ds/db/files

Added Files:
	4.2.52.5.diff 
Log Message:
updated for Fedora DS 1.1

4.2.52.5.diff:

--- NEW FILE 4.2.52.5.diff ---
*** work/db-4.2.52.NC/mp/mp_fget.c.orig	2003-09-25 08:29:02.000000000 -0700
--- work/db-4.2.52.NC/mp/mp_fget.c	2006-05-26 14:58:02.246963204 -0700
***************
*** 553,560 ****
  	 */
  	if (state != SECOND_MISS && bhp->ref == 1) {
  		bhp->priority = UINT32_T_MAX;
! 		SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
! 		SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
  		hp->hash_priority =
  		    SH_TAILQ_FIRST(&hp->hash_bucket, __bh)->priority;
  	}
--- 553,563 ----
  	 */
  	if (state != SECOND_MISS && bhp->ref == 1) {
  		bhp->priority = UINT32_T_MAX;
! 		if (SH_TAILQ_FIRST(&hp->hash_bucket, __bh) !=
! 		     SH_TAILQ_LAST(&hp->hash_bucket, hq, __bh)) {
! 			SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
! 			SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
! 		}
  		hp->hash_priority =
  		    SH_TAILQ_FIRST(&hp->hash_bucket, __bh)->priority;
  	}




More information about the Fedora-directory-commits mailing list