diff --git a/block/blk-rq-qos.c b/block/blk-rq-qos.c index 26dd3e7bd..e83af7bc7 100755 --- a/block/blk-rq-qos.c +++ b/block/blk-rq-qos.c @@ -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; }