Subject: CVS commit: src/sys/sys
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 11/21/2007 16:30:02
Module Name: src
Committed By: pooka
Date: Wed Nov 21 16:30:02 UTC 2007
Modified Files:
src/sys/sys: buf.h
Log Message:
Add BUF_ISREAD() and BUF_ISWRITE() macros to avoid silly code checking
for the B_WRITE pseudo-flag: (bp->b_flags & B_READ) == B_WRITE
To generate a diff of this commit:
cvs rdiff -r1.98 -r1.99 src/sys/sys/buf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.