]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ide: cleanup rq->data_len usages
authorTejun Heo <tj@kernel.org>
Thu, 7 May 2009 13:24:43 +0000 (22:24 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 11 May 2009 07:50:55 +0000 (09:50 +0200)
commit34b7d2c957199834c474c9d46739265643f4d9c7
treeb11b89196c6f1c758657d90a79b496c131b2a19c
parentb0790410300abaaf4f25f702803beff701baebf1
ide: cleanup rq->data_len usages

With recent unification of fields, it's now guaranteed that
rq->data_len always equals blk_rq_bytes().  Convert all direct users
to accessors.

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

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Borislav Petkov <petkovbb@googlemail.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/ide/ide-atapi.c
drivers/ide/ide-cd.c
drivers/ide/ide-floppy.c
drivers/ide/ide-io.c
drivers/ide/ide-tape.c