aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-04-22 22:05:20 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-04-28 01:37:36 -0400
commit731ec497e5888c6792ad62613ae9be97eebcd7ca (patch)
tree689a8442d8bdfd50ee6ab05b0c6acd0d229fe391 /block/blk-core.c
parentec24751a6b57e1373a12361e581b2458bc9bb791 (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/blk-core.c')
-rw-r--r--block/blk-core.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 0520cc704585..6dd180cf15d2 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -189,10 +189,9 @@ void blk_dump_rq_flags(struct request *rq, char *msg)
189 (unsigned long long)rq->sector, 189 (unsigned long long)rq->sector,
190 rq->nr_sectors, 190 rq->nr_sectors,
191 rq->current_nr_sectors); 191 rq->current_nr_sectors);
192 printk(KERN_INFO " bio %p, biotail %p, buffer %p, data %p, len %u\n", 192 printk(KERN_INFO " bio %p, biotail %p, buffer %p, len %u\n",
193 rq->bio, rq->biotail, 193 rq->bio, rq->biotail,
194 rq->buffer, rq->data, 194 rq->buffer, rq->data_len);
195 rq->data_len);
196 195
197 if (blk_pc_request(rq)) { 196 if (blk_pc_request(rq)) {
198 printk(KERN_INFO " cdb: "); 197 printk(KERN_INFO " cdb: ");