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

From: Grant Likely
Date: Wed Apr 29 2009 - 10:50:30 EST


On Wed, Apr 29, 2009 at 3:13 AM, Tejun Heo <tj@xxxxxxxxxx> 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@xxxxxxxxxxxx>

g.

--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
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/