[PATCH 6/9] Revert "UBUNTU: SAUCE: (noup) cxlflash: Fix to avoid virtual LUN failover failure"
tim.gardner at canonical.com
tim.gardner at canonical.com
Thu Feb 4 21:25:52 UTC 2016
From: Tim Gardner <tim.gardner at canonical.com>
BugLink: http://bugs.launchpad.net/bugs/1541635
This reverts commit 7292201621bc174451be96e700e77fc0267dbb44.
Revert in favor of upstream commit.
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
drivers/scsi/cxlflash/vlun.c | 2 --
include/uapi/scsi/cxlflash_ioctl.h | 10 ----------
2 files changed, 12 deletions(-)
diff --git a/drivers/scsi/cxlflash/vlun.c b/drivers/scsi/cxlflash/vlun.c
index 50f8e93..a53f583 100644
--- a/drivers/scsi/cxlflash/vlun.c
+++ b/drivers/scsi/cxlflash/vlun.c
@@ -1008,8 +1008,6 @@ 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);
diff --git a/include/uapi/scsi/cxlflash_ioctl.h b/include/uapi/scsi/cxlflash_ioctl.h
index 2302f3c..831351b 100644
--- a/include/uapi/scsi/cxlflash_ioctl.h
+++ b/include/uapi/scsi/cxlflash_ioctl.h
@@ -31,16 +31,6 @@ struct dk_cxlflash_hdr {
};
/*
- * Return flag definitions available to all ioctls
- *
- * Similar to the input flags, these are grown from the bottom-up with the
- * intention that ioctl-specific return flag definitions would grow from the
- * top-down, allowing the two sets to co-exist. While not required/enforced
- * at this time, this provides future flexibility.
- */
-#define DK_CXLFLASH_ALL_PORTS_ACTIVE 0x0000000000000001ULL
-
-/*
* Notes:
* -----
* The 'context_id' field of all ioctl structures contains the context
--
2.7.0
More information about the kernel-team
mailing list