1
linux/drivers/scsi/osd
Tejun Heo b079041030 block: 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 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>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Cc: Eric Moore <Eric.Moore@lsi.com>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Cc: Darrick J. Wong <djwong@us.ibm.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Eric Moore <Eric.Moore@lsi.com>
Cc: Boaz Harrosh <bharrosh@panasas.com>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-05-11 09:50:55 +02:00
..
Kbuild [SCSI] libosd: SCSI/OSD Sense decoding support 2009-03-12 12:58:09 -05:00
Kconfig [SCSI] osd: Kconfig file for in-tree builds 2009-03-12 12:58:09 -05:00
Makefile
osd_debug.h
osd_initiator.c block: cleanup rq->data_len usages 2009-05-11 09:50:55 +02:00
osd_uld.c [SCSI] osd_uld: Remove creation of osd_scsi class symlink 2009-04-03 09:22:56 -05:00