Re: Possibly wrong BIO usage in ide_multwrite
From: Bartlomiej Zolnierkiewicz
Date: Mon Jan 05 2004 - 12:08:35 EST
On Monday 05 of January 2004 04:52, Christophe Saout wrote:
> BTW, what was ide_multwrite expected to return? These if clauses in
> multwrite_intr are never executed.
Dunno. It can't fail so it should be made void.
Please also add bio->bi_idx restoring for failed requests.
Put it before DRIVER(drive)->error() (and remember about if (bio) check).
Otherwise I patch is OK for me.
--bart
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/