summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_pager.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-05-22 14:29:21 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-05-22 14:29:21 +0000
commit8df0f88de48460ecf5e950d5fcfd7b4cb5d9b72a (patch)
tree336a557d971361a59269fbce4b9b6e53b8f6115d /sys/uvm/uvm_pager.c
parentc7f4d78db5688c9ce59d17bddc41af79920d3e56 (diff)
splassert(IPL_BIO) in the b_iodone handlers.
Diffstat (limited to 'sys/uvm/uvm_pager.c')
-rw-r--r--sys/uvm/uvm_pager.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/uvm/uvm_pager.c b/sys/uvm/uvm_pager.c
index 46972ccf57d..0a5ad1f725c 100644
--- a/sys/uvm/uvm_pager.c
+++ b/sys/uvm/uvm_pager.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pager.c,v 1.30 2002/01/02 22:23:25 miod Exp $ */
+/* $OpenBSD: uvm_pager.c,v 1.31 2002/05/22 14:29:20 art Exp $ */
/* $NetBSD: uvm_pager.c,v 1.36 2000/11/27 18:26:41 chs Exp $ */
/*
@@ -745,6 +745,8 @@ uvm_aio_biodone1(bp)
{
struct buf *mbp = bp->b_private;
+ splassert(IPL_BIO);
+
KASSERT(mbp != bp);
if (bp->b_flags & B_ERROR) {
mbp->b_flags |= B_ERROR;
@@ -769,6 +771,8 @@ void
uvm_aio_biodone(bp)
struct buf *bp;
{
+ splassert(IPL_BIO);
+
/* reset b_iodone for when this is a single-buf i/o. */
bp->b_iodone = uvm_aio_aiodone;