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
..
2009-03-28 20:30:18 +00:00
2009-05-11 09:50:55 +02:00
2009-05-11 09:50:55 +02:00
2008-01-11 18:22:30 -06:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:17 -05:00
2009-04-03 10:17:17 -05:00
2008-10-16 16:52:06 +02:00
2009-03-13 15:48:43 -05:00
2009-03-12 12:58:02 -05:00
2008-12-29 11:24:14 -06:00
2008-08-29 02:13:10 -07:00
2008-10-09 08:56:13 +02:00
2009-03-12 12:57:58 -05:00
2008-01-30 13:14:02 -06:00
2008-12-28 20:00:03 +01:00
2008-01-30 13:14:02 -06:00
2009-04-03 09:24:42 -05:00
2008-01-30 13:14:02 -06:00
2009-03-12 12:58:10 -05:00
2008-10-23 11:42:17 -05:00
2007-07-18 11:16:32 -05:00
2008-07-02 15:06:25 -06:00
2009-03-17 21:43:52 -04:00
2009-05-11 09:50:53 +02:00
2008-02-07 18:02:44 -06:00
2009-05-11 09:50:53 +02:00
2009-01-02 12:02:25 -06:00
2008-10-23 11:42:19 -05:00
2007-10-19 23:22:55 +02:00