diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2009-05-15 07:18:21 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-05-23 16:44:16 -0400 |
commit | 6fcf41d1d8796f41b893754324704e23971c2ea1 (patch) | |
tree | ba3ba8c6bb0d4620be81859653b08d9128d77f56 /drivers/s390/scsi/zfcp_fsf.c | |
parent | ea460a81919f2b3410e7fb30183c0256d068d87a (diff) |
[SCSI] zfcp: Keep ccw device and model id in zfcp_ccw.c
Keep the information about the device and model id in zfcp_ccw. This
requires an additional helper function to check for the privileged
cfdc subchannel, but it allows the removal of the redundant defines
from the zfcp_def header file.
Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index 6fae2688fed..e6dae3744e7 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -1887,7 +1887,7 @@ static void zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *req) | |||
1887 | 1887 | ||
1888 | if (!(adapter->connection_features & FSF_FEATURE_NPIV_MODE) && | 1888 | if (!(adapter->connection_features & FSF_FEATURE_NPIV_MODE) && |
1889 | (adapter->adapter_features & FSF_FEATURE_LUN_SHARING) && | 1889 | (adapter->adapter_features & FSF_FEATURE_LUN_SHARING) && |
1890 | (adapter->ccw_device->id.dev_model != ZFCP_DEVICE_MODEL_PRIV)) { | 1890 | !zfcp_ccw_priv_sch(adapter)) { |
1891 | exclusive = (bottom->lun_access_info & | 1891 | exclusive = (bottom->lun_access_info & |
1892 | FSF_UNIT_ACCESS_EXCLUSIVE); | 1892 | FSF_UNIT_ACCESS_EXCLUSIVE); |
1893 | readwrite = (bottom->lun_access_info & | 1893 | readwrite = (bottom->lun_access_info & |