Re: [PATCH 13/17] ide-tape: remove pipelined mode tape control flags

From: Bartlomiej Zolnierkiewicz
Date: Thu Mar 20 2008 - 19:59:48 EST


On Monday 17 March 2008, Borislav Petkov wrote:
> Signed-off-by: Borislav Petkov <petkovbb@xxxxxxxxx>

applied

> @@ -1832,14 +1822,6 @@ static int idetape_init_read(ide_drive_t *drive, int max_stages)
> }
> }
>
> - if (!test_bit(IDETAPE_FLAG_PIPELINE_ACTIVE, &tape->flags)) {
> - if (tape->nr_pending_stages >= 3 * max_stages / 4) {
> - tape->measure_insert_time = 1;
> - tape->insert_time = jiffies;
> - tape->insert_size = 0;
> - tape->insert_speed = 0;
> - }
> - }

It is !test_bit() so the second 'if ()' block should be preserved
(I fixed this while merging the patch).
--
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/