summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-27 11:10:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-27 11:10:12 +0000
commitd18fe2a7e0b59cc0b8681bee3fe196e62bcfebac (patch)
tree33dfa354662a1ebdab1b33f7c8f3cd60e1d13ec9 /sys
parentd0a38c6c701db6a215b70fb2f3031c58067c4f2b (diff)
fvdl; Don't mistake a non-async block that needs to be commited for an
interrupted write.
Diffstat (limited to 'sys')
-rw-r--r--sys/nfs/nfs_bio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c
index 4e09398ed58..05105b20894 100644
--- a/sys/nfs/nfs_bio.c
+++ b/sys/nfs/nfs_bio.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: nfs_bio.c,v 1.9 1996/07/21 08:05:37 tholo Exp $ */
-/* $NetBSD: nfs_bio.c,v 1.25.4.1 1996/05/25 22:40:32 fvdl Exp $ */
+/* $OpenBSD: nfs_bio.c,v 1.10 1996/07/27 11:10:11 deraadt Exp $ */
+/* $NetBSD: nfs_bio.c,v 1.25.4.2 1996/07/08 20:47:04 jtc Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -929,7 +929,7 @@ nfs_doio(bp, cr, p)
*/
if (bp->b_flags & B_ASYNC)
reassignbuf(bp, vp);
- else
+ else if (error)
bp->b_flags |= B_EINTR;
} else {
if (error) {