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-22 03:30:28 +0200
commit8876e140ec7b9c57ab5a5dc39b7bb9815f96e3f5 (patch)
treecaca43ba483cfd9a33fecbb5c99cc6738ba2f541 /block
parentfs: fix new kernel-doc warnings in fs/bio.c (diff)
downloadlinux-8876e140ec7b9c57ab5a5dc39b7bb9815f96e3f5.tar.xz
linux-8876e140ec7b9c57ab5a5dc39b7bb9815f96e3f5.zip
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 033745cd7fba..680a0cc116dd 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);