Tejun Heo 40cbbb781d block: implement and use [__]blk_end_request_all()
There are many [__]blk_end_request() call sites which call it with
full request length and expect full completion.  Many of them ensure
that the request actually completes by doing BUG_ON() the return
value, which is awkward and error-prone.

This patch adds [__]blk_end_request_all() which takes @rq and @error
and fully completes the request.  BUG_ON() is added to to ensure that
this actually happens.

Most conversions are simple but there are a few noteworthy ones.

* cdrom/viocd: viocd_end_request() replaced with direct calls to
  __blk_end_request_all().

* s390/block/dasd: dasd_end_request() replaced with direct calls to
  __blk_end_request_all().

* s390/char/tape_block: tapeblock_end_request() replaced with direct
  calls to blk_end_request_all().

[ Impact: cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Mike Miller <mike.miller@hp.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Alex Dubov <oakad@yahoo.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-04-28 07:37:35 +02:00
..
2009-04-01 21:42:24 +02:00
2009-02-18 10:32:01 +01:00
2009-04-15 12:10:13 +02:00
2009-04-07 08:12:38 +02:00
2009-04-28 07:36:56 +02:00
2009-04-07 08:12:38 +02:00
2009-04-28 07:37:28 +02:00
2009-04-07 08:12:38 +02:00
2009-04-28 07:36:56 +02:00
2009-04-02 19:05:02 -07:00
2008-10-21 07:48:03 -04:00
2009-03-26 21:15:27 +01:00
2009-03-26 21:15:27 +01:00
2009-04-17 10:50:27 -07:00
2009-04-24 08:54:21 +02:00
2008-10-21 07:48:07 -04:00
2008-10-21 07:48:11 -04:00
2008-10-21 07:48:11 -04:00
2008-10-21 07:48:17 -04:00