Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147086
b: refs/heads/master
c: 77634f3
h: refs/heads/master
v: v3
  • Loading branch information
Martin K. Petersen authored and Jens Axboe committed Jun 9, 2009
1 parent eae3abc commit 9a7b02a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9df1bb9b516daeece159ab7fb262d01a0359247c
refs/heads/master: 77634f33d4078542cf1087995cced0ffdae25aa2
5 changes: 3 additions & 2 deletions trunk/block/blk-settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ EXPORT_SYMBOL(blk_queue_stack_limits);
/**
* blk_stack_limits - adjust queue_limits for stacked devices
* @t: the stacking driver limits (top)
* @bdev: the underlying queue limits (bottom)
* @b: the underlying queue limits (bottom)
* @offset: offset to beginning of data within component device
*
* Description:
Expand All @@ -458,6 +458,7 @@ int blk_stack_limits(struct queue_limits *t, struct queue_limits *b,
{
t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors);
t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors);
t->bounce_pfn = min_not_zero(t->bounce_pfn, b->bounce_pfn);

t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask,
b->seg_boundary_mask);
Expand Down Expand Up @@ -504,7 +505,7 @@ EXPORT_SYMBOL(blk_stack_limits);

/**
* disk_stack_limits - adjust queue limits for stacked drivers
* @t: MD/DM gendisk (top)
* @disk: MD/DM gendisk (top)
* @bdev: the underlying block device (bottom)
* @offset: offset to beginning of data within component device
*
Expand Down

0 comments on commit 9a7b02a

Please sign in to comment.