Revert "block, bfq: fix possible UAF for bfqq->bic with merge chain"
This reverts commit 7c6f64c78f
.
This commit is contained in:
parent
8b80716260
commit
293f547e21
1 changed files with 1 additions and 2 deletions
|
@ -6277,8 +6277,7 @@ static struct bfq_queue *bfq_init_rq(struct request *rq)
|
|||
* addition, if the queue has also just been split, we have to
|
||||
* resume its state.
|
||||
*/
|
||||
if (likely(bfqq != &bfqd->oom_bfqq) && !bfqq->new_bfqq &&
|
||||
bfqq_process_refs(bfqq) == 1) {
|
||||
if (likely(bfqq != &bfqd->oom_bfqq) && bfqq_process_refs(bfqq) == 1) {
|
||||
bfqq->bic = bic;
|
||||
if (split) {
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue