summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-30 18:58:19 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-30 18:58:19 +0000
commit097878edf22cb2b6ed46a26e8e60da0d7a9318d2 (patch)
tree9fbdab7979eeb05aacef58a8d4334bc1c758f4f3 /sys/nfs
parent203c4d67a056c2a30ca01b72564ceb851988584f (diff)
Whooops.
Stop returning EINPROGRESS now that the caller doesn't understand it anymore.
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_bio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c
index c995372a203..2aa06ce249f 100644
--- a/sys/nfs/nfs_bio.c
+++ b/sys/nfs/nfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_bio.c,v 1.29 2001/11/30 05:45:33 csapuntz Exp $ */
+/* $OpenBSD: nfs_bio.c,v 1.30 2001/11/30 18:58:18 art Exp $ */
/* $NetBSD: nfs_bio.c,v 1.25.4.2 1996/07/08 20:47:04 jtc Exp $ */
/*
@@ -860,8 +860,8 @@ loopdone:
splx(s);
}
if (async) {
- UVMHIST_LOG(ubchist, "returning PEND",0,0,0,0);
- return EINPROGRESS;
+ UVMHIST_LOG(ubchist, "returning 0 (async)",0,0,0,0);
+ return 0;
}
if (bp != NULL) {
error = biowait(mbp);
@@ -1107,7 +1107,7 @@ nfs_putpages(v)
splx(s);
}
if (async) {
- return EINPROGRESS;
+ return 0;
}
if (bp != NULL) {
error = biowait(mbp);