aha/drivers/sbus/char
Tejun Heo 1011c1b9f2 block: blk_rq_[cur_]_{sectors|bytes}() usage cleanup
With the previous changes, the followings are now guaranteed for all
requests in any valid state.

* blk_rq_sectors() == blk_rq_bytes() >> 9
* blk_rq_cur_sectors() == blk_rq_cur_bytes() >> 9

Clean up accessor usages.  Notable changes are

* nbd,i2o_block: end_all used instead of explicit byte count
* scsi_lib: unnecessary conditional on request type removed

[ Impact: cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Paul Clements <paul.clements@steeleye.com>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Cc: Alex Dubov <oakad@yahoo.com>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-05-11 09:50:55 +02:00
..
bbc_envctrl.c bbc_envctrl: Fix build errors from bbc_i2c OF conversion. 2008-08-29 22:55:14 -07:00
bbc_i2c.c sparc64: wait_event_interruptible_timeout may return -ERESTARTSYS 2009-03-04 00:19:28 -08:00
bbc_i2c.h bbc_i2c: Convert to pure OF driver. 2008-08-29 22:34:14 -07:00
display7seg.c sparc64: Fix unsigned long long warnings in drivers. 2009-01-06 13:20:38 -08:00
envctrl.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
flash.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
jsflash.c block: blk_rq_[cur_]_{sectors|bytes}() usage cleanup 2009-05-11 09:50:55 +02:00
Kconfig sparc: Kill sbus mostek RTC driver. 2008-09-03 15:55:32 -07:00
Makefile sparc: Kill sbus mostek RTC driver. 2008-09-03 15:55:32 -07:00
max1617.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
openprom.c sbus: Auto-load openprom module when device opened. 2009-03-13 14:30:08 -07:00
uctrl.c sbus: changed ioctls to unlocked 2009-04-14 19:46:19 -07:00