path: root/block/bsg-lib.c
diff options
authorJohannes Thumshirn <>2016-11-17 10:31:24 +0100
committerMartin K. Petersen <>2016-11-17 20:15:26 -0500
commita0f4bd7f2a5be485747aa438cea38f69e3ae8962 (patch)
tree7f2e7943064a4736f8497c80fb4b4c57a3df2640 /block/bsg-lib.c
parentfb6f7c8d8a19e5543d5b4d44c58e2c4e5a82bb12 (diff)
scsi: fc: move FC transport's bsg code to bsg-lib
Now that all conversions are done, move the FibreChannel bsg code over to the bsg library. This patch is derived from work done by Mike Christie in 2011 [1] but only the iscsi parts got merged back then. [1] Signed-off-by: Johannes Thumshirn <> Reviewed-by: Hannes Reinecke <> Signed-off-by: Martin K. Petersen <>
Diffstat (limited to 'block/bsg-lib.c')
1 files changed, 1 insertions, 2 deletions
diff --git a/block/bsg-lib.c b/block/bsg-lib.c
index 803ec40..2d1df5c 100644
--- a/block/bsg-lib.c
+++ b/block/bsg-lib.c
@@ -96,13 +96,12 @@ 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
-void bsg_softirq_done(struct request *rq)
+static void bsg_softirq_done(struct request *rq)
struct bsg_job *job = rq->special;
static int bsg_map_buffer(struct bsg_buffer *buf, struct request *req)