diff --git a/block/bfq-cgroup.c b/block/bfq-cgroup.c index ee9f24ca7eeab916d3d414aa00db697cbd559975..a942899273c0c16d6b10607d1d54ee3ddca2d9dd 100644 --- a/block/bfq-cgroup.c +++ b/block/bfq-cgroup.c @@ -645,6 +645,8 @@ void bfq_bfqq_move(struct bfq_data *bfqd, struct bfq_queue *bfqq, struct bfq_entity *entity = &bfqq->entity; struct bfq_group *old_parent = bfqq_group(bfqq); + if (bfqq == &bfqd->oom_bfqq) + return; /* * Get extra reference to prevent bfqq from being freed in * next possible expire or deactivate.