diff options
author | dyson <dyson@FreeBSD.org> | 1997-01-10 04:09:13 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1997-01-10 04:09:13 +0000 |
commit | fcc949180df5270872377ce92692731a5f44eb05 (patch) | |
tree | 164969eeb72c586df1ac91490cfd9e7332c414c8 /sys/geom | |
parent | 511c6ad118acd78eda46a9a38c7945bb6f476926 (diff) | |
download | FreeBSD-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.c | 4 |
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 */ |