/* sd_read_block_characteristics - Query block dev. characteristics @disk: disk to query  */
static void sd_read_block_characteristics(struct scsi_disk *sdkp)
/* sd_read_block_characteristics - Query block dev. characteristics @disk: disk to query  */
static void sd_read_block_characteristics(struct scsi_disk *sdkp)
{
	char *buffer;
	u16 rot;
	buffer = scsi_get_vpd_page(sdkp->device, 0xb1);
	if (buffer == NULL)
		return;
	rot = get_unaligned_be16(&buffer[4]);
	if (rot == 1)
		queue_flag_set_unlocked(QUEUE_FLAG_NONROT, sdkp->disk->queue);
	kfree(buffer);
}