summaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_lock.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-08-15 20:55:08 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-08-15 20:55:08 +0000
commit9ca435893bcf251039e2d35cd2ffd29603597559 (patch)
tree09f20587d6bc57d661c96f87771a6081e65d834f /sys/nfsclient/nfs_lock.c
parente2a5fdf9117c50fdd503f405f77381d38ed609b2 (diff)
Notes
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 32f9a1d23195..404fce95ffcb 100644
--- a/sys/nfsclient/nfs_lock.c
+++ b/sys/nfsclient/nfs_lock.c
@@ -168,7 +168,7 @@ nfs_dolock(struct vop_advlock_args *ap)
VOP_LEASE(wvp, td, thread0.td_ucred, LEASE_WRITE);
error = vn_rdwr(UIO_WRITE, wvp, (caddr_t)&msg, sizeof(msg), 0,
- UIO_SYSSPACE, ioflg, thread0.td_ucred, NULL, td);
+ UIO_SYSSPACE, ioflg, thread0.td_ucred, NOCRED, NULL, td);
if (error && (((ioflg & IO_NDELAY) == 0) || error != EAGAIN)) {
break;