diff options
author | Wayne Boyer <wayneb@linux.vnet.ibm.com> | 2010-11-04 09:35:58 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-21 12:23:54 -0600 |
commit | 0cb992eda1f7e7672775032378690baa87c0e13d (patch) | |
tree | a39c519e78130b5ee3f526763794213003ea560a /drivers/scsi/ipr.h | |
parent | 24d720b726c1a85f1962831ac30ad4d2ef8276b1 (diff) |
[SCSI] ipr: fix lun assignment and comparison
The lun value was not getting set up correctly for all devices attached to the
new 64 bit adapters. The fix is to move the logic to earlier in the
ipr_init_res_entry routine such that the value does get set correctly for all
devices.
Then the ipr_is_same_device comparison function was using the wrong lun value
in the logic for the new adapters. Change this to use the correct lun value.
Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/ipr.h')
0 files changed, 0 insertions, 0 deletions