summaryrefslogtreecommitdiffstats
path: root/block/bfq-iosched.c
diff options
context:
space:
mode:
authorPaolo Valente <paolo.valente@linaro.org>2020-03-21 10:45:19 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-21 14:31:00 -0600
commitc8997736650060594845e42c5d01d3118aec8d25 (patch)
tree78a6149281646bb3e9a44c4e2967dd201c99f97b /block/bfq-iosched.c
parentfd1bb3ae54a9a2e0c42709de861c69aa146b8955 (diff)
downloadlinux-c8997736650060594845e42c5d01d3118aec8d25.tar.gz
linux-c8997736650060594845e42c5d01d3118aec8d25.tar.bz2
linux-c8997736650060594845e42c5d01d3118aec8d25.zip
block, bfq: turn put_queue into release_process_ref in __bfq_bic_change_cgroup
A bfq_put_queue() may be invoked in __bfq_bic_change_cgroup(). The goal of this put is to release a process reference to a bfq_queue. But process-reference releases may trigger also some extra operation, and, to this goal, are handled through bfq_release_process_ref(). So, turn the invocation of bfq_put_queue() into an invocation of bfq_release_process_ref(). Tested-by: cki-project@redhat.com Signed-off-by: Paolo Valente <paolo.valente@linaro.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.c')
-rw-r--r--block/bfq-iosched.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c
index 4a44c7f19435..78ba57efd16b 100644
--- a/block/bfq-iosched.c
+++ b/block/bfq-iosched.c
@@ -2716,8 +2716,6 @@ static void bfq_bfqq_save_state(struct bfq_queue *bfqq)
}
}
-
-static
void bfq_release_process_ref(struct bfq_data *bfqd, struct bfq_queue *bfqq)
{
/*