kernel_optimize_test/drivers/block
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
..
aoe
paride block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
amiflop.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
ataflop.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
brd.c brd: fix cacheflushing 2009-04-15 12:10:13 +02:00
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cciss.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
cciss.h
cpqarray.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
cpqarray.h
cryptoloop.c
DAC960.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
DAC960.h
floppy.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
hd.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
ida_cmd.h
ida_ioctl.h
Kconfig mg_disk: fix dependency on libata 2009-04-28 08:14:52 +02:00
loop.c loop: use BIO list management functions 2009-04-28 07:37:28 +02:00
Makefile
mg_disk.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
nbd.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
pktcdvd.c
ps3disk.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
ps3vram.c
smart1,2.h
sunvdc.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
swim_asm.S
swim.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
swim3.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
sx8.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
ub.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
umem.c umem: fix request_queue lock warning 2009-04-24 08:54:21 +02:00
umem.h
viodasd.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
virtio_blk.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
xd.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
xd.h
xen-blkfront.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
xsysace.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
z2ram.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00