summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-17 21:41:16 +0200
committerJens Axboe <axboe@fb.com>2014-04-21 19:30:28 -0600
commit8876e140ec7b9c57ab5a5dc39b7bb9815f96e3f5 (patch)
treecaca43ba483cfd9a33fecbb5c99cc6738ba2f541 /block
parent1051a902fe19322ac8f2123a0f4778e43e143aca (diff)
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 <axboe@kernel.dk> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-throttle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index 033745cd7fb..680a0cc116d 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);