linux/drivers/s390/block
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
..
dasd_3990_erp.c [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_alias.c [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_devmap.c [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_diag.c [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_diag.h [S390] dasd whitespace and other cosmetics. 2006-06-29 14:58:12 +02:00
dasd_eckd.c [S390] dasd: fix idaw boundary checking for track based ccw 2009-04-14 15:37:25 +02:00
dasd_eckd.h [S390] dasd: add High Performance FICON support 2009-03-26 15:24:05 +01:00
dasd_eer.c [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_erp.c [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_fba.c [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_fba.h [S390] dasd whitespace and other cosmetics. 2006-06-29 14:58:12 +02:00
dasd_genhd.c [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_int.h [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_ioctl.c [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_proc.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
dasd.c block: implement and use [__]blk_end_request_all() 2009-04-28 07:37:35 +02:00
dcssblk.c s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
Kconfig [S390] dasd: fix double elevator_exit call when deadline iosched fails to load 2008-04-17 07:46:55 +02:00
Makefile [S390] dasd: add hyper PAV support to DASD device driver, part 1 2008-01-26 14:11:28 +01:00
xpram.c [S390] convert xpram printks to pr_xxx macros. 2008-12-25 13:39:18 +01:00