Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2005 03:28:57 +0800
From:      Xin LI <delphij@frontfree.net>
To:        Mohan Srinivasan <mohan_srinivasan@yahoo.com>
Cc:        freebsd-current@FreeBSD.org, re@FreeBSD.org
Subject:   Re: [RELENG_6] NFS panic on locking against myself
Message-ID:  <20051028192857.GA92246@frontfree.net>
In-Reply-To: <20051028172249.66549.qmail@web31806.mail.mud.yahoo.com>
References:  <20051028165314.GA89706@frontfree.net> <20051028172249.66549.qmail@web31806.mail.mud.yahoo.com>

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

[-- Attachment #1 --]
On Fri, Oct 28, 2005 at 10:22:49AM -0700, Mohan Srinivasan wrote:
> I saw this once too. The following change should fix this.
> 
> @@ -965,7 +969,7 @@
>  nfsmout:
>         if (error) {
>                 if (newvp != NULLVP) {
> -                       vrele(newvp);
> +                       vput(newvp);
>                         *vpp = NULLVP;
>                 }
>                 if ((cnp->cn_nameiop == CREATE || cnp->cn_nameiop == RENAME) &&
> 
> Will check it into current soon.

Ah!!  Thanks for this, without your confirm I was still thinking about
whether it's appropriate to replace the vrele() with vput()...

To re@:  Could we wait for some day to settle this change?

Cheers,
-- 
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDYnv5/cVsHxFZiIoRAtUEAJ9pwv4kfqXp0Pz9FDi8E40jniYPjQCZAcP8
roCMNr+gpuxR0IOqh4rtZII=
=O4Oz
-----END PGP SIGNATURE-----
help

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