diff mbox

[1/3] block: Export blk_poll

Message ID 1465248177-17970-2-git-send-email-hch@lst.de (mailing list archive)
State New, archived
Headers show

Commit Message

Christoph Hellwig June 6, 2016, 9:22 p.m. UTC
From: Sagi Grimberg <sagi@grimberg.me>

The new NVMe over fabrics target will make use of this outside from a
module.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 block/blk-core.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Nicholas A. Bellinger June 7, 2016, 6:49 a.m. UTC | #1
On Mon, 2016-06-06 at 23:22 +0200, Christoph Hellwig wrote:
> From: Sagi Grimberg <sagi@grimberg.me>
> 
> The new NVMe over fabrics target will make use of this outside from a
> module.
> 
> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  block/blk-core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/block/blk-core.c b/block/blk-core.c
> index 2475b1c7..ad5270e 100644
> --- a/block/blk-core.c
> +++ b/block/blk-core.c
> @@ -3377,6 +3377,7 @@ bool blk_poll(struct request_queue *q, blk_qc_t cookie)
>  
>  	return false;
>  }
> +EXPORT_SYMBOL_GPL(blk_poll);
>  
>  #ifdef CONFIG_PM
>  /**

Looks good.

Reviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>

--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/block/blk-core.c b/block/blk-core.c
index 2475b1c7..ad5270e 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -3377,6 +3377,7 @@  bool blk_poll(struct request_queue *q, blk_qc_t cookie)
 
 	return false;
 }
+EXPORT_SYMBOL_GPL(blk_poll);
 
 #ifdef CONFIG_PM
 /**