Re: [PATCH 04/10] block: implement blk_rq_pos/[cur_]sectors() and convert obvious ones

Grant Likely
2009-04-29T14:50:29Z

On Wed, Apr 29, 2009 at 3:13 AM, Tejun Heo <tj@kernel.org> wrote:
> Implement accessors - blk_rq_pos(), blk_rq_sectors() and
> blk_rq_cur_sectors() which return rq->sector, rq->hard_nr_sectors and
> rq->hard_cur_sectors respectively and convert direct references of the
> said fields to the accessors.
>
> This is in preparation of request data length handling cleanup.
>
> [ Impact: cleanup ]
> ---
[...]
>  drivers/block/xsysace.c         |   10 +++++-----

Tested-by: and Acked-by: Grant Likely <grant.likely@secretlab.ca>

g.

--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.