summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-01-10 04:09:13 +0000
committerdyson <dyson@FreeBSD.org>1997-01-10 04:09:13 +0000
commitfcc949180df5270872377ce92692731a5f44eb05 (patch)
tree164969eeb72c586df1ac91490cfd9e7332c414c8 /sys/geom
parent511c6ad118acd78eda46a9a38c7945bb6f476926 (diff)
downloadFreeBSD-src-fcc949180df5270872377ce92692731a5f44eb05.zip
FreeBSD-src-fcc949180df5270872377ce92692731a5f44eb05.tar.gz
Fix CCD for bounced devices.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_ccd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c
index 86de9c2..c046453 100644
--- a/sys/geom/geom_ccd.c
+++ b/sys/geom/geom_ccd.c
@@ -1,4 +1,4 @@
-/* $Id: ccd.c,v 1.16 1996/07/24 23:45:24 asami Exp $ */
+/* $Id: ccd.c,v 1.17 1996/09/06 23:06:40 phk Exp $ */
/* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */
@@ -910,6 +910,8 @@ ccdbuffer(cb, cs, bp, bn, addr, bcount)
if (cbp->cb_buf.b_bcount > bcount)
cbp->cb_buf.b_bcount = bcount;
+ cbp->cb_buf.b_bufsize = cbp->cb_buf.b_bcount;
+
/*
* context for ccdiodone
*/
OpenPOWER on IntegriCloud