Subject: PR/35542 CVS commit: src/sys/nfs
To: None <chs@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Chuck Silvers <chs@netbsd.org>
List: netbsd-bugs
Date: 02/04/2007 14:50:02
The following reply was made to PR kern/35542; it has been noted by GNATS.

From: Chuck Silvers <chs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/35542 CVS commit: src/sys/nfs
Date: Sun,  4 Feb 2007 14:48:51 +0000 (UTC)

 Module Name:	src
 Committed By:	chs
 Date:		Sun Feb  4 14:48:51 UTC 2007
 
 Modified Files:
 	src/sys/nfs: nfs_serv.c
 
 Log Message:
 in nfsrv_rename(), change vput(fdirp) back to vrele() since the dirp
 returned from nfs_namei() is not locked in this case.  fixes PR 35542.
 also, apply the same fix here as was made in rename_files() to handle
 the case when dvp and vp are the same.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.122 -r1.123 src/sys/nfs/nfs_serv.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.