summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfsclient/nfs_lock.c')
-rw-r--r--sys/nfsclient/nfs_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_lock.c b/sys/nfsclient/nfs_lock.c
index dfd5ed0..32f9a1d 100644
--- a/sys/nfsclient/nfs_lock.c
+++ b/sys/nfsclient/nfs_lock.c
@@ -163,7 +163,7 @@ nfs_dolock(struct vop_advlock_args *ap)
VOP_UNLOCK(wvp, 0, td); /* vn_open leaves it locked */
- ioflg = IO_UNIT;
+ ioflg = IO_UNIT | IO_NOMACCHECK;
for (;;) {
VOP_LEASE(wvp, td, thread0.td_ucred, LEASE_WRITE);
OpenPOWER on IntegriCloud