diff --git a/[refs] b/[refs] index 63b56c502721..bbff0e4b9954 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f1a304e7941cc76353363a139cbb6a4b1ca7c737 +refs/heads/master: d5c97c1099f5617dc1ba3d1f0058d1341b1faf4c diff --git a/trunk/Documentation/kref.txt b/trunk/Documentation/kref.txt index ae203f91ee9b..48ba715d5a63 100644 --- a/trunk/Documentation/kref.txt +++ b/trunk/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);