6.1 panic after approx. 49 days uptime

Kostik Belousov kostikbel at gmail.com
Mon Jul 17 09:02:55 UTC 2006


On Sun, Jul 16, 2006 at 12:19:25PM +0300, Kostik Belousov wrote:
> On Sun, Jul 16, 2006 at 09:46:49AM +0100, Mark Knight wrote:
> 
> Index: mount.h
> ===================================================================
> RCS file: /usr/local/arch/ncvs/src/sys/sys/mount.h,v
> retrieving revision 1.210
> diff -u -r1.210 mount.h
> --- mount.h	5 May 2006 19:32:35 -0000	1.210
> +++ mount.h	16 Jul 2006 09:15:32 -0000
> @@ -578,7 +578,7 @@
>  	int _locked;							\
>  	struct mount *_MP;						\
>  	_MP = (MP);							\
> -	if (VFS_NEEDSGIANT(_MP)) {					\
> +	if (_MP != NULL && VFS_NEEDSGIANT(_MP)) {			\
>  		mtx_lock(&Giant);					\
>  		_locked = 1;						\
>  	} else								\
This is not needed, since the problem was fixed on HEAD and RELENG_6
by tegge, see rev. 1.210 of sys/sys/mount.h. Fix was committed after
release of 6.1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20060717/1cefce60/attachment.pgp


More information about the freebsd-fs mailing list