summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2006-04-30 14:20:09 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2006-04-30 14:20:09 +0000
commita4cb7d48e5f539c9c6c8918d25916b5fac8dcd8a (patch)
treef86b662368f0d39c80089283db45fbc7db35c09f /sys/nfs
parentdba3801a71db41c05ec0bfd759e004548d5e3eca (diff)
remove the simplelock argument from vfs_busy() which is currently not
used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c
index 0156eb77b0e..9ac032a6323 100644
--- a/sys/nfs/nfs_syscalls.c
+++ b/sys/nfs/nfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_syscalls.c,v 1.45 2005/11/30 10:35:08 pedro Exp $ */
+/* $OpenBSD: nfs_syscalls.c,v 1.46 2006/04/30 14:20:07 sturm Exp $ */
/* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */
/*
@@ -177,7 +177,7 @@ nfs_clientd(struct nfsmount *nmp, struct ucred *cred, struct nfsd_cargs *ncd,
error = tsleep((caddr_t)&nmp->nm_authstr, PSOCK | PCATCH,
"nqnfstimr", hz / 3);
if (error == EINTR || error == ERESTART) {
- if (vfs_busy(nmp->nm_mountp, LK_EXCLUSIVE, NULL) == 0)
+ if (vfs_busy(nmp->nm_mountp, LK_EXCLUSIVE) == 0)
dounmount(nmp->nm_mountp, MNT_FORCE, p, NULL);
}
}