]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d70c988d6e5bc95bd7a29ea62e87bf08bce86fb
treea18446f394591470e3e296eafc72cd444be7fe5a
parentde1bcb898bcd078ab1a52a14d491d3a2a7b6cf98
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