Messages in this thread | | | From | Grant Likely <> | Date | Wed, 29 Apr 2009 08:49:43 -0600 | Subject | Re: [PATCH 04/10] block: implement blk_rq_pos/[cur_]sectors() and convert obvious ones |
| |
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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |