diff --git a/[refs] b/[refs] index b7699f374c1f..88dfdd4fcb3e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 97521978c5ea80857d4f4f74d4e1fc93721482cf +refs/heads/master: ac5a2962b02f57dea76d314ef2521a2170b28ab6 diff --git a/trunk/lib/klist.c b/trunk/lib/klist.c index 0874e41609a6..358a368a2947 100644 --- a/trunk/lib/klist.c +++ b/trunk/lib/klist.c @@ -193,10 +193,10 @@ static void klist_release(struct kref *kref) if (waiter->node != n) continue; + list_del(&waiter->list); waiter->woken = 1; mb(); wake_up_process(waiter->process); - list_del(&waiter->list); } spin_unlock(&klist_remove_lock); knode_set_klist(n, NULL);