/* Description: The block layer calculates everything in 512 byte sectors but integrity metadata is done in terms of the hardware sector size of the storage device. Convert the block layer sectors to physical sectors.  */
static unsigned int bio_integrity_hw_sectors(struct blk_integrity *bi, unsigned int sectors)
/* Description: The block layer calculates everything in 512 byte sectors but integrity metadata is done in terms of the hardware sector size of the storage device. Convert the block layer sectors to physical sectors.  */
static unsigned int bio_integrity_hw_sectors(struct blk_integrity *bi, unsigned int sectors)
{
	if (bi->sector_size == 4096)
		return sectors >>= 3;
	return sectors;
}