scsi: bsg-lib: pass the release callback through bsg_setup_queue
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Aug 2017 15:37:38 +0000 (17:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 30 Aug 2017 01:51:43 +0000 (21:51 -0400)
commitc1225f01af085aea9c9d094febf157de9d07d861
treea18446f394591470e3e296eafc72cd444be7fe5a
parentccf1e0045eea8f98d60fc9327bcb14c958d2e4c7
scsi: bsg-lib: pass the release callback through bsg_setup_queue

The SAS code will need it.  Also mark the name argument const to match
bsg_register_queue.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
block/bsg-lib.c
drivers/scsi/scsi_transport_fc.c
drivers/scsi/scsi_transport_iscsi.c
include/linux/bsg-lib.h