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
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
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
sclp_cpi.c
sclp_quiesce.c
sclp_rw.c
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
sclp_tty.h
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
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
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
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
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
vmwatchdog.c
zcore.c [S390] Use csum_partial in checksum.h 2009-03-26 15:24:27 +01:00