Subject: sparc kernel won't build - brelse() API change?
To: NetBSD Current Users <current-users@NetBSD.org>
From: Chris Ross <cross+netbsd@distal.com>
List: current-users
Date: 10/08/2007 14:37:25
   I updated my sources this afternoon (nowish, 18:30 UTC), and I can  
no longer compile a sparc64 kernel.  The problem is two brelse()  
calls (with only one argument) in sys/dev/sun/disksubr.c.  In looking  
around, it looks like brelse() had a second arg of an "int" added,  
but yet the buffercache.9 man page hasn't been updated, and *many*  
things in the tree still are calling it with only one argument.
   Was this an error?  Should brelse() have a second argument now?   
If so, please update the buffercache.9 man page, and let people know  
that they're going to have to change their code.  Lots of now- 
incorrect calls in the kernel sources....

                     - Chris