OSDN Git Service

scsi: core: Move the eh_deadline module parameter definition
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 12 Feb 2018 18:41:29 +0000 (10:41 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Feb 2018 02:49:17 +0000 (21:49 -0500)
commit9866306795c207b52d49ac5f8dc7cdec9363b67f
treee0d84329c6c30ffb764d1f1e7711a1e580772465
parent923f46f9e9b0a2352c93500cda989996ff875cbd
scsi: core: Move the eh_deadline module parameter definition

The eh_deadline definition occurs in the middle of the code for
releasing a host. Avoid splitting the host release code by moving the
definition of the eh_deadline parameter to the top of the hosts.c source
file.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hosts.c