Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 1998 14:37:08 -0500 (EST)
From:      "John W. DeBoskey" <jwd@unx.sas.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Possible BUG in vfs_bio.c/brelse() line 643
Message-ID:  <199802111937.AA20502@iluvatar.unx.sas.com>

next in thread | raw e-mail | index | archive | help
Hi,

   I believe the following is a bug in vfs_bio.c/brelse() version 1.147
and the following change should be committed.

643c643
< 		if (bp->b_flags && (B_INVAL | B_RELBUF))
---
> 		if (bp->b_flags & (B_INVAL | B_RELBUF))

   I always did like those if (1) conditions.

   Comments? Critiques?

thanks,
John

-- 
jwd@unx.sas.com       (w) John W. De Boskey          (919) 677-8000 x6915

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802111937.AA20502>