svn commit: r220921 - head/sys/fs/nfsclient

Rick Macklem rmacklem at FreeBSD.org
Thu Apr 21 12:38:12 UTC 2011


Author: rmacklem
Date: Thu Apr 21 12:38:12 2011
New Revision: 220921
URL: http://svn.freebsd.org/changeset/base/220921

Log:
  Revert r220906, since the vp isn't always locked when
  nfscl_request() is called. It will need a more involved
  patch.

Modified:
  head/sys/fs/nfsclient/nfs_clport.c

Modified: head/sys/fs/nfsclient/nfs_clport.c
==============================================================================
--- head/sys/fs/nfsclient/nfs_clport.c	Thu Apr 21 11:44:16 2011	(r220920)
+++ head/sys/fs/nfsclient/nfs_clport.c	Thu Apr 21 12:38:12 2011	(r220921)
@@ -819,8 +819,6 @@ nfscl_request(struct nfsrv_descript *nd,
 	int ret, vers;
 	struct nfsmount *nmp;
 
-	if ((vp->v_iflag & VI_DOOMED) != 0)
-		return (EPERM);
 	nmp = VFSTONFS(vp->v_mount);
 	if (nd->nd_flag & ND_NFSV4)
 		vers = NFS_VER4;


More information about the svn-src-head mailing list