K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-07-11T18:16:54.084166Z K 7 svn:log V 297 When an MFI command fails, the driver needs to set bio->bio_resid so that the upper levels notice. Otherwise we see commands silently failing leading to data corruption. This mirrors dadone() Submitted by: Andrew Boyer aboyer@averesystems.com Reviewed by: scottl@freebsd.org MFC after: 2 weeks END