]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/target/target_core_device.c
target: Obtain se_node_acl->acl_kref during get_initiator_node_acl
[mirror_ubuntu-zesty-kernel.git] / drivers / target / target_core_device.c
index 88ea4e4f124b2113cf686f470aed171706304a94..cacd97a8cbd02d32509b0a590ff2c40b59be36b1 100644 (file)
@@ -813,6 +813,8 @@ struct se_device *target_alloc_device(struct se_hba *hba, const char *name)
        dev->dev_attrib.unmap_granularity = DA_UNMAP_GRANULARITY_DEFAULT;
        dev->dev_attrib.unmap_granularity_alignment =
                                DA_UNMAP_GRANULARITY_ALIGNMENT_DEFAULT;
+       dev->dev_attrib.unmap_zeroes_data =
+                               DA_UNMAP_ZEROES_DATA_DEFAULT;
        dev->dev_attrib.max_write_same_len = DA_MAX_WRITE_SAME_LEN;
 
        xcopy_lun = &dev->xcopy_lun;