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

Tejun Heo
2009-05-05T03:43:46Z

Sergei Shtylyov wrote:
> Tejun Heo wrote:
>
>> Implement accessors - blk_rq_pos(), blk_rq_sectors() and
>> blk_rq_cur_sectors() which return rq->sector, rq->hard_nr_sectors and
>
> Well, blk_rq_pos() returns rq->hard_sector, not rq->sector, doesn't it?

Right, description updated.

Thanks.

--
tejun