diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2005-03-13 12:16:45 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2005-03-13 12:16:45 +0000 |
commit | dcc18814bade0716e14ae53962af78719ef9fc17 (patch) | |
tree | 04e4d9be4ae4f674d1d9a7830c40b144176d23b4 | |
parent | 8d8d331063d11ed7b6bad0d186b62d21618caca1 (diff) | |
download | src-dcc18814bade0716e14ae53962af78719ef9fc17.tar.gz src-dcc18814bade0716e14ae53962af78719ef9fc17.zip |
- It is no longer necessary to lock and unlock the vnode in nfs4_close()
as the top level does this for us now.
Sponsored by: Isilon Systems, Inc.
Notes
Notes:
svn path=/head/; revision=143512
-rw-r--r-- | sys/nfs4client/nfs4_vnops.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/nfs4client/nfs4_vnops.c b/sys/nfs4client/nfs4_vnops.c index 7e133cf052a4..ca1f3032dd69 100644 --- a/sys/nfs4client/nfs4_vnops.c +++ b/sys/nfs4client/nfs4_vnops.c @@ -681,9 +681,7 @@ nfs4_close(struct vop_close_args *ap) return (0); if (np->n_flag & NMODIFIED) { - vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, ap->a_td); error = nfs_vinvalbuf(vp, V_SAVE, ap->a_td, 1); - VOP_UNLOCK(vp, 0, ap->a_td); np->n_attrstamp = 0; } |