[SCSI] lpfc: do not reset dev_loss_tmo in slave callout
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 6 Aug 2010 08:02:39 +0000 (03:02 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 5 Sep 2010 16:45:26 +0000 (13:45 -0300)
commit143beaa811aa3cfc4ae8b4a2092f232ad78b33da
tree9c7c578b4f12f533ff6ce61e7fda57138f8c89ad
parenta74bdf4661441d79a700f7ab3fc6d225ea2cf409
[SCSI] lpfc: do not reset dev_loss_tmo in slave callout

This fixes a bug where the driver was resetting the
rport dev_loss_tmo when devices were added by adding
support for the get_host_def_dev_loss_tmo callout.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_scsi.c