Revert r220906, since the vp isn't always locked when

nfscl_request() is called. It will need a more involved
patch.
This commit is contained in:
Rick Macklem 2011-04-21 12:38:12 +00:00
parent 53479021ba
commit 920ae5d96a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220921

View file

@ -819,8 +819,6 @@ nfscl_request(struct nfsrv_descript *nd, struct vnode *vp, NFSPROC_T *p,
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;