summaryrefslogtreecommitdiffstats
path: root/sys/nfs4client
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-03-13 12:16:45 +0000
committerjeff <jeff@FreeBSD.org>2005-03-13 12:16:45 +0000
commit5d7c91ddde246cd0d3f506a01bb53ba5fb41dd5d (patch)
tree04e4d9be4ae4f674d1d9a7830c40b144176d23b4 /sys/nfs4client
parent29a4f75b9b3c9de41d62bd4c41c644d67e1dbd59 (diff)
downloadFreeBSD-src-5d7c91ddde246cd0d3f506a01bb53ba5fb41dd5d.zip
FreeBSD-src-5d7c91ddde246cd0d3f506a01bb53ba5fb41dd5d.tar.gz
- 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.
Diffstat (limited to 'sys/nfs4client')
-rw-r--r--sys/nfs4client/nfs4_vnops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/nfs4client/nfs4_vnops.c b/sys/nfs4client/nfs4_vnops.c
index 7e133cf..ca1f303 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;
}
OpenPOWER on IntegriCloud