block: add bsg_job_put() and bsg_job_get()
authorJohannes Thumshirn <jthumshirn@suse.de>
Thu, 17 Nov 2016 09:31:23 +0000 (10:31 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 Nov 2016 01:15:26 +0000 (20:15 -0500)
commitfb6f7c8d8a19e5543d5b4d44c58e2c4e5a82bb12
tree7c7626dfd808b37d35d06c31c603f434ee252782
parent06548160dfecd1983ffd9d6795242a5cda095da5
block: add bsg_job_put() and bsg_job_get()

Add bsg_job_put() and bsg_job_get() so don't need to export
bsg_destroy_job() any more.

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