diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-22 22:05:20 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-28 01:37:36 -0400 |
commit | 731ec497e5888c6792ad62613ae9be97eebcd7ca (patch) | |
tree | 689a8442d8bdfd50ee6ab05b0c6acd0d229fe391 /block/scsi_ioctl.c | |
parent | ec24751a6b57e1373a12361e581b2458bc9bb791 (diff) |
block: kill rq->data
Now that all block request data transfer is done via bio, rq->data
isn't used. Kill it.
While at it, make the roles of rq->special and buffer clear.
[ Impact: drop now unncessary field from struct request ]
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'block/scsi_ioctl.c')
-rw-r--r-- | block/scsi_ioctl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c index 82a0ca2f6729..bb9aa43551b2 100644 --- a/block/scsi_ioctl.c +++ b/block/scsi_ioctl.c | |||
@@ -500,7 +500,6 @@ static int __blk_send_generic(struct request_queue *q, struct gendisk *bd_disk, | |||
500 | 500 | ||
501 | rq = blk_get_request(q, WRITE, __GFP_WAIT); | 501 | rq = blk_get_request(q, WRITE, __GFP_WAIT); |
502 | rq->cmd_type = REQ_TYPE_BLOCK_PC; | 502 | rq->cmd_type = REQ_TYPE_BLOCK_PC; |
503 | rq->data = NULL; | ||
504 | rq->data_len = 0; | 503 | rq->data_len = 0; |
505 | rq->extra_len = 0; | 504 | rq->extra_len = 0; |
506 | rq->timeout = BLK_DEFAULT_SG_TIMEOUT; | 505 | rq->timeout = BLK_DEFAULT_SG_TIMEOUT; |