bsg: pass in desired timeout handler
authorJens Axboe <axboe@kernel.dk>
Fri, 26 Oct 2018 17:26:25 +0000 (11:26 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 02:47:40 +0000 (19:47 -0700)
commit819b85ca3fa6bcb300e8601f78682ef24eec29cc
treed4b85f5815a3f56255f4752668ea7b8c93ae7ddf
parent98e5b29fdac665a476d0f66f37b30925ae2aae86
bsg: pass in desired timeout handler

This will ease in the conversion to blk-mq, where we can't set
a timeout handler after queue init.

Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: linux-scsi@vger.kernel.org
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Tested-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bsg-lib.c
drivers/scsi/scsi_transport_fc.c
drivers/scsi/scsi_transport_iscsi.c
drivers/scsi/scsi_transport_sas.c
drivers/scsi/ufs/ufs_bsg.c
include/linux/bsg-lib.h