summaryrefslogtreecommitdiff
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-17 23:41:16 +0400
committerJens Axboe <axboe@fb.com>2014-04-22 05:30:28 +0400
commit8876e140ec7b9c57ab5a5dc39b7bb9815f96e3f5 (patch)
treecaca43ba483cfd9a33fecbb5c99cc6738ba2f541 /block/blk-throttle.c
parent1051a902fe19322ac8f2123a0f4778e43e143aca (diff)
downloadlinux-8876e140ec7b9c57ab5a5dc39b7bb9815f96e3f5.tar.xz
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/blk-throttle.c')
-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);