diff options
-rw-r--r-- | block/blk-settings.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c index 8d3393492891..1c4df9bf6813 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c | |||
@@ -445,7 +445,7 @@ EXPORT_SYMBOL(blk_queue_stack_limits); | |||
445 | /** | 445 | /** |
446 | * blk_stack_limits - adjust queue_limits for stacked devices | 446 | * blk_stack_limits - adjust queue_limits for stacked devices |
447 | * @t: the stacking driver limits (top) | 447 | * @t: the stacking driver limits (top) |
448 | * @bdev: the underlying queue limits (bottom) | 448 | * @b: the underlying queue limits (bottom) |
449 | * @offset: offset to beginning of data within component device | 449 | * @offset: offset to beginning of data within component device |
450 | * | 450 | * |
451 | * Description: | 451 | * Description: |
@@ -458,6 +458,7 @@ int blk_stack_limits(struct queue_limits *t, struct queue_limits *b, | |||
458 | { | 458 | { |
459 | t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); | 459 | t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); |
460 | t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); | 460 | t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); |
461 | t->bounce_pfn = min_not_zero(t->bounce_pfn, b->bounce_pfn); | ||
461 | 462 | ||
462 | t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask, | 463 | t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask, |
463 | b->seg_boundary_mask); | 464 | b->seg_boundary_mask); |
@@ -504,7 +505,7 @@ EXPORT_SYMBOL(blk_stack_limits); | |||
504 | 505 | ||
505 | /** | 506 | /** |
506 | * disk_stack_limits - adjust queue limits for stacked drivers | 507 | * disk_stack_limits - adjust queue limits for stacked drivers |
507 | * @t: MD/DM gendisk (top) | 508 | * @disk: MD/DM gendisk (top) |
508 | * @bdev: the underlying block device (bottom) | 509 | * @bdev: the underlying block device (bottom) |
509 | * @offset: offset to beginning of data within component device | 510 | * @offset: offset to beginning of data within component device |
510 | * | 511 | * |