linux/drivers/s390/char
Tejun Heo 83096ebf12 block: convert to pos and nr_sectors accessors
With recent cleanups, there is no place where low level driver
directly manipulates request fields.  This means that the 'hard'
request fields always equal the !hard fields.  Convert all
rq->sectors, nr_sectors and current_nr_sectors references to
accessors.

While at it, drop superflous blk_rq_pos() < 0 test in swim.c.

[ Impact: use pos and nr_sectors accessors ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Tested-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Acked-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Acked-by: Mike Miller <mike.miller@hp.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Borislav Petkov <petkovbb@googlemail.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Eric Moore <Eric.Moore@lsi.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Paul Clements <paul.clements@steeleye.com>
Cc: Tim Waugh <tim@cyberelk.net>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Alex Dubov <oakad@yahoo.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Dario Ballabio <ballabio_dario@emc.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: unsik Kim <donari75@gmail.com>
Cc: Laurent Vivier <Laurent@lvivier.info>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-05-11 09:50:54 +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 unicode diacritics support 2007-10-17 08:42:52 -07:00
keyboard.h unicode diacritics support 2007-10-17 08:42:52 -07:00
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.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
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.c [S390] sclp: sysfs interface for SCLP cpi 2008-01-26 14:11:08 +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_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
tape.h [S390] Use tape_generic_offline directly. 2009-04-23 13:58:17 +02:00
tape_34xx.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
tape_3590.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
tape_3590.h [S390] tape: New read configuration data. 2007-05-04 18:48:26 +02:00
tape_block.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +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
tty3270.c [S390] Cleanup 3270 printk messages. 2008-07-14 10:02:18 +02:00
tty3270.h [S390] Get rid of a bunch of sparse warnings again. 2007-10-12 16:13:06 +02:00
vmcp.c [S390] convert vmcp printks to pr_xxx macros. 2008-12-25 13:39:18 +01:00
vmcp.h [S390] vmcp cleanup 2007-07-17 13:36:19 +02:00
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