diff options
Diffstat (limited to 'block/blk-settings.c')
-rw-r--r-- | block/blk-settings.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c index d3234fc494ad..565a6786032f 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c | |||
@@ -143,8 +143,7 @@ void blk_set_stacking_limits(struct queue_limits *lim) | |||
143 | lim->discard_zeroes_data = 1; | 143 | lim->discard_zeroes_data = 1; |
144 | lim->max_segments = USHRT_MAX; | 144 | lim->max_segments = USHRT_MAX; |
145 | lim->max_hw_sectors = UINT_MAX; | 145 | lim->max_hw_sectors = UINT_MAX; |
146 | 146 | lim->max_sectors = UINT_MAX; | |
147 | lim->max_sectors = BLK_DEF_MAX_SECTORS; | ||
148 | } | 147 | } |
149 | EXPORT_SYMBOL(blk_set_stacking_limits); | 148 | EXPORT_SYMBOL(blk_set_stacking_limits); |
150 | 149 | ||