Re: [PATCH 08/11] block: cleanup rq->data_len usages

Sergei Shtylyov
2009-05-04T14:40:30Z

Tejun Heo wrote:

> With recent unification of fields, it's now guaranteed that
> rq->data_len always equals blk_rq_bytes(). Convert all non-IDE direct
> users to accessors. IDE will be converted in a separate patch.

> Boaz: spotted incorrect data_len/resid_len conversion in osd.

> [ Impact: convert direct rq->data_len usages to blk_rq_bytes() ]

> Signed-off-by: Tejun Heo <tj@kernel.org>

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

MBR, Sergei