diff options
author | Christoph Hellwig <hch@lst.de> | 2010-08-07 12:17:56 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 12:17:56 -0400 |
commit | 33659ebbae262228eef4e0fe990f393d1f0ed941 (patch) | |
tree | fcb537f09359c8dad3a6f6e16dc4319562dc42cc /drivers/scsi/sun3_NCR5380.c | |
parent | 7e005f79791dcd58436c88ded4a7f5aed1b82147 (diff) |
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>
Diffstat (limited to 'drivers/scsi/sun3_NCR5380.c')
-rw-r--r-- | drivers/scsi/sun3_NCR5380.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sun3_NCR5380.c b/drivers/scsi/sun3_NCR5380.c index b5838d547c68..713620ed70d9 100644 --- a/drivers/scsi/sun3_NCR5380.c +++ b/drivers/scsi/sun3_NCR5380.c | |||
@@ -2022,7 +2022,7 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance) | |||
2022 | if((count > SUN3_DMA_MINSIZE) && (sun3_dma_setup_done | 2022 | if((count > SUN3_DMA_MINSIZE) && (sun3_dma_setup_done |
2023 | != cmd)) | 2023 | != cmd)) |
2024 | { | 2024 | { |
2025 | if(blk_fs_request(cmd->request)) { | 2025 | if (cmd->request->cmd_type == REQ_TYPE_FS) { |
2026 | sun3scsi_dma_setup(d, count, | 2026 | sun3scsi_dma_setup(d, count, |
2027 | rq_data_dir(cmd->request)); | 2027 | rq_data_dir(cmd->request)); |
2028 | sun3_dma_setup_done = cmd; | 2028 | sun3_dma_setup_done = cmd; |