diff options
Diffstat (limited to 'drivers/block/hd.c')
-rw-r--r-- | drivers/block/hd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/hd.c b/drivers/block/hd.c index 961de56d00a9..f65b3f369eb0 100644 --- a/drivers/block/hd.c +++ b/drivers/block/hd.c | |||
@@ -724,7 +724,7 @@ static int __init hd_init(void) | |||
724 | blk_queue_max_sectors(hd_queue, 255); | 724 | blk_queue_max_sectors(hd_queue, 255); |
725 | init_timer(&device_timer); | 725 | init_timer(&device_timer); |
726 | device_timer.function = hd_times_out; | 726 | device_timer.function = hd_times_out; |
727 | blk_queue_hardsect_size(hd_queue, 512); | 727 | blk_queue_logical_block_size(hd_queue, 512); |
728 | 728 | ||
729 | if (!NR_HD) { | 729 | if (!NR_HD) { |
730 | /* | 730 | /* |