block: Do away with the notion of hardsect_size
[linux-block.git] / drivers / scsi / sd.c
index 40d2860f235a3d2d85bed42b95a24ddc2a180f68..bcf3bd40bbd5fc3bfbecb29f0d7b21b5e393c8b3 100644 (file)
@@ -1510,7 +1510,7 @@ got_data:
                 */
                sector_size = 512;
        }
-       blk_queue_hardsect_size(sdp->request_queue, sector_size);
+       blk_queue_logical_block_size(sdp->request_queue, sector_size);
 
        {
                char cap_str_2[10], cap_str_10[10];