summaryrefslogtreecommitdiffstats
path: root/sys/nfs4client
diff options
context:
space:
mode:
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