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:
Ksawlii 2024-11-24 00:22:52 +01:00
parent 05db595c67
commit 89c3aaef2c

View file

@ -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;
}