]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/kref.txt
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc
[linux-2.6-omap-h63xx.git] / Documentation / kref.txt
index 96d8f5666afe6006e47dc0155962885f491ea188..f38b59d00c63a1a635983eaee2278c40b6f744a6 100644 (file)
@@ -67,7 +67,7 @@ void more_data_handling(void *cb_data)
        .
        . do stuff with data here
        .
-       kref_put(data, data_release);
+       kref_put(&data->refcount, data_release);
 }
 
 int my_data_handler(void)
@@ -208,4 +208,9 @@ preferred as it is a little neater.
 
 Corey Minyard <minyard@acm.org>
 
-A lot of this was lifted from Greg KH's OLS presentation on krefs.
+A lot of this was lifted from Greg Kroah-Hartman's 2004 OLS paper and
+presentation on krefs, which can be found at:
+  http://www.kroah.com/linux/talks/ols_2004_kref_paper/Reprint-Kroah-Hartman-OLS2004.pdf
+and:
+  http://www.kroah.com/linux/talks/ols_2004_kref_talk/
+