diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:18:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:18:03 -0400 |
commit | bd5d435a96837c3495e62eef37cbe4cb728b79ae (patch) | |
tree | 82aacaf5a1d220910c4b0a1088d7d2482c0d9ee0 /drivers/block/ps3disk.c | |
parent | fee4b19fb3f28d17c0b9f9ea0668db5275697178 (diff) | |
parent | ac9fafa1243640349aa481adf473db283a695766 (diff) |
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/linux-2.6-block:
block: Skip I/O merges when disabled
block: add large command support
block: replace sizeof(rq->cmd) with BLK_MAX_CDB
ide: use blk_rq_init() to initialize the request
block: use blk_rq_init() to initialize the request
block: rename and export rq_init()
block: no need to initialize rq->cmd with blk_get_request
block: no need to initialize rq->cmd in prepare_flush_fn hook
block/blk-barrier.c:blk_ordered_cur_seq() mustn't be inline
block/elevator.c:elv_rq_merge_ok() mustn't be inline
block: make queue flags non-atomic
block: add dma alignment and padding support to blk_rq_map_kern
unexport blk_max_pfn
ps3disk: Remove superfluous cast
block: make rq_init() do a full memset()
relay: fix splice problem
Diffstat (limited to 'drivers/block/ps3disk.c')
-rw-r--r-- | drivers/block/ps3disk.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/block/ps3disk.c b/drivers/block/ps3disk.c index 7483f947f0e9..d797e209951d 100644 --- a/drivers/block/ps3disk.c +++ b/drivers/block/ps3disk.c | |||
@@ -102,8 +102,7 @@ static void ps3disk_scatter_gather(struct ps3_storage_device *dev, | |||
102 | dev_dbg(&dev->sbd.core, | 102 | dev_dbg(&dev->sbd.core, |
103 | "%s:%u: bio %u: %u segs %u sectors from %lu\n", | 103 | "%s:%u: bio %u: %u segs %u sectors from %lu\n", |
104 | __func__, __LINE__, i, bio_segments(iter.bio), | 104 | __func__, __LINE__, i, bio_segments(iter.bio), |
105 | bio_sectors(iter.bio), | 105 | bio_sectors(iter.bio), iter.bio->bi_sector); |
106 | (unsigned long)iter.bio->bi_sector); | ||
107 | 106 | ||
108 | size = bvec->bv_len; | 107 | size = bvec->bv_len; |
109 | buf = bvec_kmap_irq(bvec, &flags); | 108 | buf = bvec_kmap_irq(bvec, &flags); |
@@ -406,7 +405,6 @@ static void ps3disk_prepare_flush(struct request_queue *q, struct request *req) | |||
406 | 405 | ||
407 | dev_dbg(&dev->sbd.core, "%s:%u\n", __func__, __LINE__); | 406 | dev_dbg(&dev->sbd.core, "%s:%u\n", __func__, __LINE__); |
408 | 407 | ||
409 | memset(req->cmd, 0, sizeof(req->cmd)); | ||
410 | req->cmd_type = REQ_TYPE_FLUSH; | 408 | req->cmd_type = REQ_TYPE_FLUSH; |
411 | } | 409 | } |
412 | 410 | ||