diff options
| -rw-r--r-- | block/blk-settings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c index dd4973583978..c7bb666aafd1 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c | |||
| @@ -91,8 +91,8 @@ void blk_set_default_limits(struct queue_limits *lim) | |||
| 91 | lim->seg_boundary_mask = BLK_SEG_BOUNDARY_MASK; | 91 | lim->seg_boundary_mask = BLK_SEG_BOUNDARY_MASK; |
| 92 | lim->virt_boundary_mask = 0; | 92 | lim->virt_boundary_mask = 0; |
| 93 | lim->max_segment_size = BLK_MAX_SEGMENT_SIZE; | 93 | lim->max_segment_size = BLK_MAX_SEGMENT_SIZE; |
| 94 | lim->max_sectors = lim->max_dev_sectors = lim->max_hw_sectors = | 94 | lim->max_sectors = lim->max_hw_sectors = BLK_SAFE_MAX_SECTORS; |
| 95 | BLK_SAFE_MAX_SECTORS; | 95 | lim->max_dev_sectors = 0; |
| 96 | lim->chunk_sectors = 0; | 96 | lim->chunk_sectors = 0; |
| 97 | lim->max_write_same_sectors = 0; | 97 | lim->max_write_same_sectors = 0; |
| 98 | lim->max_discard_sectors = 0; | 98 | lim->max_discard_sectors = 0; |
