block/blk-throttle.c: add static to blk_throtl_dispatch_work_fn
authorFabian Frederick <fabf@skynet.be>
Thu, 17 Apr 2014 19:41:16 +0000 (21:41 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 22 Apr 2014 01:30:28 +0000 (19:30 -0600)
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>
block/blk-throttle.c

index 033745cd7fba62b299301860f4ee0f50ec2ff04e..680a0cc116dd1ec6311786b0cfc99911159b0269 100644 (file)
@@ -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);