summaryrefslogtreecommitdiff
path: root/drivers/scsi/libfc/fc_fcp.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2010-10-09 00:12:10 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2010-10-25 20:11:29 (GMT)
commit73b4376477672a4336cba5f26ede2e277511ce70 (patch)
tree05aa0d3783ec8e56630ee739b85da9ef5d1cb1f7 /drivers/scsi/libfc/fc_fcp.c
parentf63ae56e4e97fb12053590e41a4fa59e7daa74a4 (diff)
downloadlinux-fsl-qoriq-73b4376477672a4336cba5f26ede2e277511ce70.tar.xz
[SCSI] libfc: fix setting of rport dev loss
There does not seem to be a reason why libfc adds a 5 second delay to the user requested value for the dev loss tmo. There also does not seem to be a reason to allow setting it to 0 (or really close). This patch removes the extra 5 sec delay, and for 0 it sets it to 1 like other fc drivers. We should actually be able to set it to 0 since the queue_delayed_work API will just call queue_work, but other drivers set it to 1 in that case. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libfc/fc_fcp.c')
0 files changed, 0 insertions, 0 deletions