lkml.org 
[lkml]   [2008]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 13/17] ide-tape: remove pipelined mode tape control flags
Date
On Monday 17 March 2008, Borislav Petkov wrote:
> Signed-off-by: Borislav Petkov <petkovbb@gmail.com>

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).


\
 
 \ /
  Last update: 2008-03-21 01:03    [W:0.129 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site