Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2000 10:43:43 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: panic in ufs_extattr_uepm_destroy()
Message-ID:  <20001006104343.A49423@dragon.nuxi.com>
In-Reply-To: <Pine.NEB.3.96L.1001006093250.63939C-100000@fledge.watson.org>; from rwatson@freebsd.org on Fri, Oct 06, 2000 at 09:41:29AM -0400
References:  <Pine.BSF.4.21.0010052247360.71550-100000@volatile.chemicals.tacorp.com> <Pine.NEB.3.96L.1001006093250.63939C-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 06, 2000 at 09:41:29AM -0400, Robert Watson wrote:
> Index: ffs_vfsops.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/ufs/ffs/ffs_vfsops.c,v
> retrieving revision 1.129
> diff -u -r1.129 ffs_vfsops.c
> --- ffs_vfsops.c	2000/10/04 04:44:51	1.129
> +++ ffs_vfsops.c	2000/10/06 13:40:57
> @@ -772,7 +772,7 @@
>  	int mntflags;
>  	struct proc *p;
>  {
> -	register struct ufsmount *ump;
> +	register struct ufsmount *ump = VFSTOUFS(mp);
>  	register struct fs *fs;
>  	int error, flags;

This has a KNF style problem.  The line you remove should stay and 
"ump = VFSTOUFS(mp);" added.

-- 
-- David  (obrien@FreeBSD.org)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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