Revert "blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race"
This reverts commit 6df069c465
.
This commit is contained in:
parent
05db595c67
commit
89c3aaef2c
1 changed files with 1 additions and 1 deletions
|
@ -225,8 +225,8 @@ static int rq_qos_wake_function(struct wait_queue_entry *curr,
|
|||
|
||||
data->got_token = true;
|
||||
smp_wmb();
|
||||
list_del_init(&curr->entry);
|
||||
wake_up_process(data->task);
|
||||
list_del_init_careful(&curr->entry);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue