Merge branch 'for-4.3/sg' of git://git.kernel.dk/linux-block
[pandora-kernel.git] / drivers / target / target_core_rd.c
index badd927..47a833f 100644 (file)
@@ -325,6 +325,7 @@ static int rd_configure_device(struct se_device *dev)
        dev->dev_attrib.hw_block_size = RD_BLOCKSIZE;
        dev->dev_attrib.hw_max_sectors = UINT_MAX;
        dev->dev_attrib.hw_queue_depth = RD_MAX_DEVICE_QUEUE_DEPTH;
+       dev->dev_attrib.is_nonrot = 1;
 
        rd_dev->rd_dev_id = rd_host->rd_host_dev_id_count++;