2014-04-17 19:39:28

by Fabian Frédérick

[permalink] [raw]
Subject: [PATCH 1/1] block/blk-throttle.c: add static to blk_throtl_dispatch_work_fn

blk_throtl_dispatch_work_fn is only used in blk-throttle.c

Cc: Jens Axboe <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
---
block/blk-throttle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index 033745c..680a0cc 100644
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -1258,7 +1258,7 @@ out_unlock:
* of throtl_data->service_queue. Those bio's are ready and issued by this
* function.
*/
-void blk_throtl_dispatch_work_fn(struct work_struct *work)
+static void blk_throtl_dispatch_work_fn(struct work_struct *work)
{
struct throtl_data *td = container_of(work, struct throtl_data,
dispatch_work);
--
1.8.4.5


2014-04-22 01:30:44

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH 1/1] block/blk-throttle.c: add static to blk_throtl_dispatch_work_fn

On 2014-04-17 13:41, Fabian Frederick wrote:
> blk_throtl_dispatch_work_fn is only used in blk-throttle.c

Thanks, applied for 3.16.

--
Jens Axboe