diff options
Diffstat (limited to 'kernel/drivers/target/target_core_iblock.c')
-rw-r--r-- | kernel/drivers/target/target_core_iblock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/drivers/target/target_core_iblock.c b/kernel/drivers/target/target_core_iblock.c index 2c53dceff..4620c1dcd 100644 --- a/kernel/drivers/target/target_core_iblock.c +++ b/kernel/drivers/target/target_core_iblock.c @@ -121,8 +121,7 @@ static int iblock_configure_device(struct se_device *dev) dev->dev_attrib.hw_max_sectors = queue_max_hw_sectors(q); dev->dev_attrib.hw_queue_depth = q->nr_requests; - if (target_configure_unmap_from_queue(&dev->dev_attrib, q, - dev->dev_attrib.hw_block_size)) + if (target_configure_unmap_from_queue(&dev->dev_attrib, q)) pr_debug("IBLOCK: BLOCK Discard support available," " disabled by default\n"); |