commit | a4253fde53fda56c2116a1cf8df9c93ef272eab4 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Fri Feb 19 09:17:06 2016 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Feb 23 21:27:02 2016 -0500 |
tree | ccfe9911774dedb9fb95922b0c09b7af9055fd6f | |
parent | 0047220c6c3641eeaf0460fb1cc8bbb7f81bd47e [diff] |
scsi_dh_alua: simplify alua_initialize() Rework alua_check_vpd() to use scsi_vpd_get_tpg() and move the port group selection into the function, too. With that we can simplify alua_initialize() to just call alua_check_tpgs() and alua_check_vpd(); Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>