Subject: Re: CVS commit: src/sys/ufs/ffs
To: Juergen Hannken-Illjes <hannken@netbsd.org>
From: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
List: source-changes
Date: 03/23/2006 14:38:53
On Thu, Mar 23, 2006 at 11:16:48AM +0000, Juergen Hannken-Illjes wrote:
> 
> Module Name:	src
> Committed By:	hannken
> Date:		Thu Mar 23 11:16:48 UTC 2006
> 
> Modified Files:
> 	src/sys/ufs/ffs: ffs_balloc.c
> 
> Log Message:
> ffs_balloc*(): Add an assertion for "bpp != NULL" if B_METAONLY is set.

Why? bpp is immediately dereferenced, so if it is NULL, the kernel will
panic anyway.

Pavel