Re: [PATCH 05/11] block: convert to pos and nr_sectors accessors

From: Tejun Heo
Date: Mon May 04 2009 - 23:44:44 EST


Adrian McMenamin wrote:
> On Mon, 2009-05-04 at 16:58 +0900, Tejun Heo wrote:
>> With recent cleanups, there is no place where low level driver
>> directly manipulates request fields. This means that the 'hard'
>> request fields always equal the !hard fields. Convert all
>> rq->sectors, nr_sectors and current_nr_sectors references to
>> accessors.
>>
>> [ Impact: use pos and nr_sectors accessors ]
>>
>> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
>> Acked-by: Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx>
>> Tested-by: Grant Likely <grant.likely@xxxxxxxxxxxx>
>> Acked-by: Grant Likely <grant.likely@xxxxxxxxxxxx>
>> Tested-by: Adrian McMenamin <adrian@xxxxxxxxxxxxxxxxx>
>> Acked-by: Adrian McMenamin <adrian@xxxxxxxxxxxxxxxxx>
>
> I have re-tested this on the Dreamcast and it still works :)
>
> Tested-by: Adrian McMenamin <adrian@xxxxxxxxxxxxxxxxx>
> Acked-by: Adrian McMenamin <adrian@xxxxxxxxxxxxxxxxx>

Thanks. Much appreciated.

--
tejun
--
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/