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.
pgpYD8mKH0hpT.pgp
Description: PGP signature
