Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2006 12:51:55 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Mark Knight <markk@knigma.org>
Cc:        freebsd-fs@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: 6.1 panic after approx. 49 days uptime
Message-ID:  <20060716095155.GN32624@deviant.kiev.zoral.com.ua>
In-Reply-To: <20060716091925.GM32624@deviant.kiev.zoral.com.ua>
References:  <NCWGF4BvmfuEFwrU@lap.knigma.org> <20060716084210.GL32624@deviant.kiev.zoral.com.ua> <giDNdZC5zfuEFwMa@lap.knigma.org> <20060716091925.GM32624@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--ai3I8gwHc37+ASRI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> Index: mount.h
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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 =3D (MP);							\
> -	if (VFS_NEEDSGIANT(_MP)) {					\
> +	if (_MP !=3D NULL && VFS_NEEDSGIANT(_MP)) {			\
>  		mtx_lock(&Giant);					\
>  		_locked =3D 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.

--ai3I8gwHc37+ASRI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFEugw6C3+MBN1Mb4gRAkDHAJ0RpVAee7yMKXDo8KbN+he6JrALSgCguSMo
eSDqDb4/q0lK7qiX5zvRsd4=
=yT0z
-----END PGP SIGNATURE-----

--ai3I8gwHc37+ASRI--



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