diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2009-06-02 21:23:12 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2009-06-02 21:23:12 +0000 |
commit | e4625cf21cd1ff1f8802e436b66678b5cc9c84b0 (patch) | |
tree | a0426f909e3bfe7f7abbce6dffc68cd651c257e3 /sys/dev/softraid_crypto.c | |
parent | 1826a3bf3b1afe9a2b45229acfa3271d148b26f0 (diff) |
Abuse bio layer a little less by marking fake buffers with B_PHYS.
From beck with lots of squealing and ear bleeds.
Issue originally reported by todd.
ok beck
Diffstat (limited to 'sys/dev/softraid_crypto.c')
-rw-r--r-- | sys/dev/softraid_crypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid_crypto.c b/sys/dev/softraid_crypto.c index ec1fef13ee2..1479ded33a3 100644 --- a/sys/dev/softraid_crypto.c +++ b/sys/dev/softraid_crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_crypto.c,v 1.34 2009/06/02 11:38:51 deraadt Exp $ */ +/* $OpenBSD: softraid_crypto.c,v 1.35 2009/06/02 21:23:11 marco Exp $ */ /* * Copyright (c) 2007 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Hans-Joerg Hoexer <hshoexer@openbsd.org> @@ -570,7 +570,7 @@ sr_crypto_rw2(struct sr_workunit *wu, struct cryptop *crp) goto bad; } - ccb->ccb_buf.b_flags = B_CALL; + ccb->ccb_buf.b_flags = B_CALL | B_PHYS; ccb->ccb_buf.b_iodone = sr_crypto_intr; ccb->ccb_buf.b_blkno = blk; ccb->ccb_buf.b_bcount = xs->datalen; |