diff options
-rw-r--r-- | drivers/block/ll_rw_blk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/ll_rw_blk.c b/drivers/block/ll_rw_blk.c index 3c818544475e..b4b17958d101 100644 --- a/drivers/block/ll_rw_blk.c +++ b/drivers/block/ll_rw_blk.c | |||
@@ -235,8 +235,8 @@ void blk_queue_make_request(request_queue_t * q, make_request_fn * mfn) | |||
235 | * set defaults | 235 | * set defaults |
236 | */ | 236 | */ |
237 | q->nr_requests = BLKDEV_MAX_RQ; | 237 | q->nr_requests = BLKDEV_MAX_RQ; |
238 | q->max_phys_segments = MAX_PHYS_SEGMENTS; | 238 | blk_queue_max_phys_segments(q, MAX_PHYS_SEGMENTS); |
239 | q->max_hw_segments = MAX_HW_SEGMENTS; | 239 | blk_queue_max_hw_segments(q, MAX_HW_SEGMENTS); |
240 | q->make_request_fn = mfn; | 240 | q->make_request_fn = mfn; |
241 | q->backing_dev_info.ra_pages = (VM_MAX_READAHEAD * 1024) / PAGE_CACHE_SIZE; | 241 | q->backing_dev_info.ra_pages = (VM_MAX_READAHEAD * 1024) / PAGE_CACHE_SIZE; |
242 | q->backing_dev_info.state = 0; | 242 | q->backing_dev_info.state = 0; |