summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/scsi/cxlflash/vlun.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/scsi/cxlflash/vlun.c')
-rw-r--r--kernel/drivers/scsi/cxlflash/vlun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/drivers/scsi/cxlflash/vlun.c b/kernel/drivers/scsi/cxlflash/vlun.c
index a53f583e2..50f8e9300 100644
--- a/kernel/drivers/scsi/cxlflash/vlun.c
+++ b/kernel/drivers/scsi/cxlflash/vlun.c
@@ -1008,6 +1008,8 @@ int cxlflash_disk_virtual_open(struct scsi_device *sdev, void *arg)
virt->last_lba = last_lba;
virt->rsrc_handle = rsrc_handle;
+ if (lli->port_sel == BOTH_PORTS)
+ virt->hdr.return_flags |= DK_CXLFLASH_ALL_PORTS_ACTIVE;
out:
if (likely(ctxi))
put_context(ctxi);