[SCSI] scsi_dh_rdac: move the init code from rdac_activate to rdac_bus_attach
authorMoger, Babu <Babu.Moger@lsi.com>
Fri, 4 Sep 2009 03:42:15 +0000 (21:42 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 12 Sep 2009 14:35:30 +0000 (09:35 -0500)
commit87b79a53277c21a2de07106d0affa857bd79e1bb
tree37dc1891b21b09c06fc58bda3d6cbb2dd8d307c3
parente71044ee2efa4792e21d243b03d49006db66aec9
[SCSI] scsi_dh_rdac: move the init code from rdac_activate to rdac_bus_attach

Moving the initialization code from rdac_activate to rdac_bus_attach which is
more efficient.  We don't have to collect all the information during every
activate.

Signed-off-by: Babu Moger <babu.moger@lsi.com>
Reviewed-by: Vijay Chauhan <vijay.chauhan@lsi.com>
Reviewed-by: Bob Stankey <Robert.stankey@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/device_handler/scsi_dh_rdac.c