block: remove wrappers for request type/flags
authorChristoph Hellwig <hch@lst.de>
Sat, 7 Aug 2010 16:17:56 +0000 (18:17 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:17:56 +0000 (18:17 +0200)
commit33659ebbae262228eef4e0fe990f393d1f0ed941
treefcb537f09359c8dad3a6f6e16dc4319562dc42cc
parent7e005f79791dcd58436c88ded4a7f5aed1b82147
block: remove wrappers for request type/flags

Remove all the trivial wrappers for the cmd_type and cmd_flags fields in
struct requests.  This allows much easier grepping for different request
types instead of unwinding through macros.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
47 files changed:
block/blk-barrier.c
block/blk-core.c
block/blk-exec.c
block/blk-merge.c
block/blk.h
block/cfq-iosched.c
block/elevator.c
drivers/ata/libata-scsi.c
drivers/block/cciss.c
drivers/block/hd.c
drivers/block/mg_disk.c
drivers/block/nbd.c
drivers/block/osdblk.c
drivers/block/paride/pd.c
drivers/block/ps3disk.c
drivers/block/ub.c
drivers/block/viodasd.c
drivers/block/virtio_blk.c
drivers/block/xd.c
drivers/block/xen-blkfront.c
drivers/block/xsysace.c
drivers/cdrom/gdrom.c
drivers/cdrom/viocd.c
drivers/ide/ide-atapi.c
drivers/ide/ide-cd.c
drivers/ide/ide-disk.c
drivers/ide/ide-eh.c
drivers/ide/ide-floppy.c
drivers/ide/ide-io.c
drivers/ide/ide-pm.c
drivers/ide/ide-tape.c
drivers/md/dm.c
drivers/memstick/core/mspro_block.c
drivers/message/i2o/i2o_block.c
drivers/mmc/card/queue.c
drivers/mtd/mtd_blkdevs.c
drivers/scsi/scsi_error.c
drivers/scsi/scsi_lib.c
drivers/scsi/sd.c
drivers/scsi/sun3_NCR5380.c
drivers/scsi/sun3_scsi.c
drivers/scsi/sun3_scsi_vme.c
drivers/staging/hv/blkvsc_drv.c
include/linux/blkdev.h
include/linux/blktrace_api.h
include/trace/events/block.h
kernel/trace/blktrace.c