diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-05-06 20:00:03 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-05-06 20:00:03 +0000 |
| commit | a468031ce841abd412daba673e4d29f4731877b9 (patch) | |
| tree | a64ebdb241a0dd62cdc943d74032c6052aec5c9b /sys/vm | |
| parent | 18ee6cea78ac0da9e19d19cb67a68f0ff382ed21 (diff) | |
Notes
Diffstat (limited to 'sys/vm')
| -rw-r--r-- | sys/vm/swap_pager.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index aa2cb5260711..8d343f4177e1 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -853,9 +853,7 @@ swap_pager_strategy(vm_object_t object, struct bio *bp) /* XXX: KASSERT instead ? */ if (bp->bio_bcount & PAGE_MASK) { - bp->bio_error = EINVAL; - bp->bio_flags |= BIO_ERROR; - biodone(bp); + biofinish(bp, NULL, EINVAL); printf("swap_pager_strategy: bp %p blk %d size %d, not page bounded\n", bp, (int)bp->bio_pblkno, (int)bp->bio_bcount); return; } |
