diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-01-25 21:15:01 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-25 21:15:01 -0700 |
commit | a5bf0a92e1b8282c93018383b2526ca59602dd08 (patch) | |
tree | d976e2162eb431d38d5fb32849cf49cc552c099d /block/bfq-iosched.c | |
parent | 71217df39dc67a0aeed83352b0d712b7892036a2 (diff) | |
download | lwn-a5bf0a92e1b8282c93018383b2526ca59602dd08.tar.gz lwn-a5bf0a92e1b8282c93018383b2526ca59602dd08.zip |
bfq: bfq_check_waker() should be static
It's only used in the same file, mark is appropriately static.
Fixes: 71217df39dc6 ("block, bfq: make waker-queue detection more robust")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.c')
-rw-r--r-- | block/bfq-iosched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c index eaeda18cb8c8..23e293d2943c 100644 --- a/block/bfq-iosched.c +++ b/block/bfq-iosched.c @@ -1952,7 +1952,8 @@ static void bfq_update_io_intensity(struct bfq_queue *bfqq, u64 now_ns) * * On queue merging all waker information is lost. */ -void bfq_check_waker(struct bfq_data *bfqd, struct bfq_queue *bfqq, u64 now_ns) +static void bfq_check_waker(struct bfq_data *bfqd, struct bfq_queue *bfqq, + u64 now_ns) { if (!bfqd->last_completed_rq_bfqq || bfqd->last_completed_rq_bfqq == bfqq || |