Module Name:    src
Committed By:   riastradh
Date:           Fri Feb 21 02:04:40 UTC 2020

Modified Files:
        src/sys/kern: vfs_bio.c

Log Message:
OOPS -- fix mistake in previous commit.

bbusy really needs to return the error; otherwise things are very
bad!


To generate a diff of this commit:
cvs rdiff -u -r1.288 -r1.289 src/sys/kern/vfs_bio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/vfs_bio.c
diff -u src/sys/kern/vfs_bio.c:1.288 src/sys/kern/vfs_bio.c:1.289
--- src/sys/kern/vfs_bio.c:1.288	Thu Feb 20 15:48:38 2020
+++ src/sys/kern/vfs_bio.c	Fri Feb 21 02:04:40 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: vfs_bio.c,v 1.288 2020/02/20 15:48:38 riastradh Exp $	*/
+/*	$NetBSD: vfs_bio.c,v 1.289 2020/02/21 02:04:40 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2007, 2008, 2009, 2019 The NetBSD Foundation, Inc.
@@ -123,7 +123,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.288 2020/02/20 15:48:38 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.289 2020/02/21 02:04:40 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_bufcache.h"
@@ -2225,7 +2225,7 @@ bbusy(buf_t *bp, bool intr, int timo, km
 
 out:	SDT_PROBE5(io, kernel, , bbusy__done,
 	    bp, intr, timo, interlock, error);
-	return 0;
+	return error;
 }
 
 /*

Reply via email to