diff options
author | Johannes Thumshirn | 2016-11-17 10:31:21 +0100 |
---|---|---|
committer | Martin K. Petersen | 2016-11-17 20:15:26 -0500 |
commit | 6aa858cd335a94e2824ed542140ac9704c0a64e2 (patch) | |
tree | df644f8b29270d49040fbd848765bff309cafb96 /block | |
parent | c00da4c90ffd066cdfe7f53ff3529c8ab4a35db0 (diff) |
scsi: fc: use bsg_softirq_done
bsg_softirq_done() and fc_bsg_softirq_done() are copies of each other, so
ditch the fc specific one.
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>
Diffstat (limited to 'block')
-rw-r--r-- | block/bsg-lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/bsg-lib.c b/block/bsg-lib.c index 9f1e8fde924a..6661f823db4c 100644 --- a/block/bsg-lib.c +++ b/block/bsg-lib.c @@ -85,12 +85,13 @@ EXPORT_SYMBOL_GPL(bsg_job_done); * bsg_softirq_done - softirq done routine for destroying the bsg requests * @rq: BSG request that holds the job to be destroyed */ -static void bsg_softirq_done(struct request *rq) +void bsg_softirq_done(struct request *rq) { struct bsg_job *job = rq->special; kref_put(&job->kref, bsg_destroy_job); } +EXPORT_SYMBOL_GPL(bsg_softirq_done); static int bsg_map_buffer(struct bsg_buffer *buf, struct request *req) { |