X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Documentation%2Fkref.txt;h=48ba715d5a633fb246855aca0595ce47ecb5e187;hb=73d5a8675f32b8e22e11773b314324316f920192;hp=ae203f91ee9b8a80e54f98d76f09457a665cad0f;hpb=5a355982993e8eb9f840b81194fbeb4e793221bb;p=pandora-kernel.git diff --git a/Documentation/kref.txt b/Documentation/kref.txt index ae203f91ee9b..48ba715d5a63 100644 --- a/Documentation/kref.txt +++ b/Documentation/kref.txt @@ -156,7 +156,7 @@ static struct my_data *get_entry() struct my_data *entry = NULL; mutex_lock(&mutex); if (!list_empty(&q)) { - entry = container_of(q.next, struct my_q_entry, link); + entry = container_of(q.next, struct my_data, link); kref_get(&entry->refcount); } mutex_unlock(&mutex);