diff options
author | Paolo Valente <paolo.valente@linaro.org> | 2018-12-06 21:18:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-01-14 16:25:44 +0300 |
commit | 5bf859081f6a7575a3f7509d7a70d0a9baa88ce3 (patch) | |
tree | d948126554cfca203977a84265301bfd50efdff6 /drivers/md | |
parent | bde0b5c109e8b22b57745e3b9914f9e87ad857ea (diff) | |
download | linux-5bf859081f6a7575a3f7509d7a70d0a9baa88ce3.tar.xz |
block, bfq: fix comments on __bfq_deactivate_entity
Comments on function __bfq_deactivate_entity contains two imprecise or
wrong statements:
1) The function performs the deactivation of the entity.
2) The function must be invoked only if the entity is on a service tree.
This commits replaces both statements with the correct ones:
1) The functions updates sched_data and service trees for the entity,
so as to represent entity as inactive (which is only part of the steps
needed for the deactivation of the entity).
2) The function must be invoked on every entity being deactivated.
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions