diff options
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
| -rw-r--r-- | drivers/scsi/scsi_scan.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index e7818afeda2b..40124648a07b 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0  /*   * scsi_scan.c   * @@ -956,6 +957,9 @@ static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result,  	if (*bflags & BLIST_NO_DIF)  		sdev->no_dif = 1; +	if (*bflags & BLIST_UNMAP_LIMIT_WS) +		sdev->unmap_limit_for_ws = 1; +  	sdev->eh_timeout = SCSI_DEFAULT_EH_TIMEOUT;  	if (*bflags & BLIST_TRY_VPD_PAGES) |