We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3d5562 commit ce31dc5Copy full SHA for ce31dc5
drivers/scsi/sd_zbc.c
@@ -889,7 +889,7 @@ int sd_zbc_revalidate_zones(struct scsi_disk *sdkp)
889
}
890
891
max_append = min_t(u32, logical_to_sectors(sdkp->device, zone_blocks),
892
- q->limits.max_segments << (PAGE_SHIFT - 9));
+ q->limits.max_segments << PAGE_SECTORS_SHIFT);
893
max_append = min_t(u32, max_append, queue_max_hw_sectors(q));
894
895
blk_queue_max_zone_append_sectors(q, max_append);
0 commit comments