summaryrefslogtreecommitdiffstats
path: root/sys/nfs4client
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfs4client')
-rw-r--r--sys/nfs4client/nfs4_vfsops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfs4client/nfs4_vfsops.c b/sys/nfs4client/nfs4_vfsops.c
index 27249b8..1e4968c 100644
--- a/sys/nfs4client/nfs4_vfsops.c
+++ b/sys/nfs4client/nfs4_vfsops.c
@@ -752,6 +752,7 @@ loop:
continue;
}
if (vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, td)) {
+ MNT_ILOCK(mp);
goto loop;
}
error = VOP_FSYNC(vp, waitfor, td);
OpenPOWER on IntegriCloud