linux/drivers/s390/char
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
..
con3215.c [S390] 3215: Remove tasklet. 2008-10-10 21:34:02 +02:00
con3270.c [S390] console flush on panic / reboot 2008-10-10 21:34:01 +02:00
ctrlchar.c
ctrlchar.h
defkeymap.c Build fix for drivers/s390/char/defkeymap.c 2008-03-04 08:01:26 -08:00
defkeymap.map
fs3270.c fs3270: Correct error returns 2008-10-13 09:51:44 -07:00
Kconfig [S390] tape block: fix dependencies 2009-01-09 12:15:04 +01:00
keyboard.c
keyboard.h
Makefile [S390] sclp: convert channel path configure code to use sync interface. 2008-01-26 14:11:10 +01:00
monreader.c [S390] convert monreader printks to pr_xxx macros. 2008-12-25 13:39:22 +01:00
monwriter.c [S390] convert monwriter printks to pr_xxx macros. 2008-12-25 13:39:23 +01:00
raw3270.c device create: s390: convert device_create_drvdata to device_create 2008-10-16 09:24:44 -07:00
raw3270.h
sclp_cmd.c [S390] fix "mem=" handling in case of standby memory 2009-02-19 15:19:19 +01:00
sclp_con.c [S390] console flush on panic / reboot 2008-10-10 21:34:01 +02:00
sclp_config.c [S390] convert sclp printks to pr_xxx macros. 2008-12-25 13:39:24 +01:00
sclp_cpi_sys.c [S390] convert sclp printks to pr_xxx macros. 2008-12-25 13:39:24 +01:00
sclp_cpi_sys.h [S390] sclp: sysfs interface for SCLP cpi 2008-01-26 14:11:08 +01:00
sclp_cpi.c [S390] sclp: sysfs interface for SCLP cpi 2008-01-26 14:11:08 +01:00
sclp_quiesce.c [S390] Cleanup sclp printk messages. 2008-07-14 10:02:19 +02:00
sclp_rw.c [S390] Cleanup sclp printk messages. 2008-07-14 10:02:19 +02:00
sclp_rw.h
sclp_sdias.c [S390] convert sclp printks to pr_xxx macros. 2008-12-25 13:39:24 +01:00
sclp_tty.c [S390] sclp_tty: Fix scheduling while atomic bug. 2008-07-14 10:02:25 +02:00
sclp_tty.h [S390] sclp_tty: remove ioctl interface. 2008-07-14 10:02:25 +02:00
sclp_vt220.c [S390] sclp vt220: fix compile warning 2008-12-25 13:39:12 +01:00
sclp.c [S390] sclp: handle empty event buffers 2009-02-19 15:19:19 +01:00
sclp.h [S390] sclp: clean up send/receive naming scheme 2008-02-19 15:29:34 +01:00
tape_34xx.c [S390] Use tape_generic_offline directly. 2009-04-23 13:58:17 +02:00
tape_3590.c [S390] Use tape_generic_offline directly. 2009-04-23 13:58:17 +02:00
tape_3590.h
tape_block.c block: implement and use [__]blk_end_request_all() 2009-04-28 07:37:35 +02:00
tape_char.c [S390] tape message cleanup 2009-03-26 15:24:25 +01:00
tape_class.c device create: s390: convert device_create_drvdata to device_create 2008-10-16 09:24:44 -07:00
tape_class.h [S390] tape: duplicate sysfs filename when setting tape device online 2008-04-17 07:46:59 +02:00
tape_core.c [S390] Use tape_generic_offline directly. 2009-04-23 13:58:17 +02:00
tape_proc.c [S390] tape message cleanup 2009-03-26 15:24:25 +01:00
tape_std.c [S390] BUG to BUG_ON changes 2009-03-26 15:24:28 +01:00
tape_std.h
tape.h [S390] Use tape_generic_offline directly. 2009-04-23 13:58:17 +02:00
tty3270.c [S390] Cleanup 3270 printk messages. 2008-07-14 10:02:18 +02:00
tty3270.h
vmcp.c [S390] convert vmcp printks to pr_xxx macros. 2008-12-25 13:39:18 +01:00
vmcp.h
vmlogrdr.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
vmur.c [S390] convert vmur printks to pr_xxx macros. 2008-12-25 13:39:19 +01:00
vmur.h [S390] vmur: Use wait queue instead of mutex to serialize open 2008-04-17 07:46:59 +02:00
vmwatchdog.c Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6 2008-07-14 14:48:31 -07:00
zcore.c [S390] Use csum_partial in checksum.h 2009-03-26 15:24:27 +01:00