Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Mar 1996 04:13:57 -0800
From:      David Greenman <davidg@Root.COM>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        jhay@mikom.csir.co.za, freebsd-current@FreeBSD.ORG
Subject:   Re: fixes for rename panic (round 1) 
Message-ID:  <199603061213.EAA23308@Root.COM>
In-Reply-To: Your message of "Wed, 06 Mar 1996 18:50:15 %2B1100." <199603060750.SAA09666@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
>***************
>*** 953,958 ****
>--- 1005,1012 ----
>  			panic("ufs_rename: lost to startdir");
>  		error = relookup(tdvp, &tvp, tcnp);
>+ 		VREF(tdvp);
>  		if (error)
>  			goto out;
>+ 		vrele(tdvp);
>  		dp = VTOI(tdvp);
>  		xp = NULL;

   It seems like this hunk should be similar to the others - the VREF() should
be before the call to relookup(). Right?

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



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