summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2006-06-25 15:01:55 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2006-06-25 15:01:55 +0000
commit1997cc0f7600801eaee09b3bd08785f982706534 (patch)
treefb656be1b4ad6dcd594b6084743ac48d5b4f5f7c /sys/nfs
parentdea3211dddeba2e25005fa356b8cfc9352831cb5 (diff)
rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAIT
requested by and ok pedro
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 e6156abe717..e467714cefc 100644
--- a/sys/nfs/nfs_syscalls.c
+++ b/sys/nfs/nfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_syscalls.c,v 1.47 2006/06/14 20:01:50 sturm Exp $ */
+/* $OpenBSD: nfs_syscalls.c,v 1.48 2006/06/25 15:01:54 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, VB_WRITE|VB_UMWAIT) == 0)
+ if (vfs_busy(nmp->nm_mountp, VB_WRITE|VB_WAIT) == 0)
dounmount(nmp->nm_mountp, MNT_FORCE, p, NULL);
}
}