From 52972616516a18e69bb2849c2f2e718ee644b27f Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 8 Sep 2009 13:19:05 +0000 Subject: Revert previous commit and add myself to the list of people who should know better than to commit with a cat in the area. --- sys/dev/ata/ata-raid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/ata/ata-raid.c') diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index d31bceb..fc6a23c 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -407,7 +407,7 @@ ata_raid_strategy(struct bio *bp) if (rdp->status & AR_S_REBUILDING) blk = ((lba / rdp->interleave) * rdp->width) * rdp->interleave + (rdp->interleave * (drv % rdp->width)) + - lba % rdp->interleave; + lba % rdp->interleave;; if (bp->bio_cmd == BIO_READ) { int src_online = @@ -1138,7 +1138,6 @@ ata_raid_create(struct ata_ioc_raid_config *config) rdp->type == AR_T_RAID5) { int bit = 0; - /* XXX: Flexelint not happy */ while (config->interleave >>= 1) bit++; rdp->interleave = 1 << bit; -- cgit v1.1