]> err.no Git - linux-2.6/commitdiff
Fix wrong identifier name in Documentation/kref.txt
authorSatyam Sharma <ssatyam@cse.iitk.ac.in>
Fri, 11 May 2007 17:07:14 +0000 (19:07 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 11 May 2007 17:07:14 +0000 (19:07 +0200)
There's a typo / wrong identifier name in Documentation/kref.txt. Fix it.

Signed-off-by: Satyam Sharma <ssatyam@cse.iitk.ac.in>
Acked-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Documentation/kref.txt

index 42fe28445916e43b5de49f858d04190477d38fef..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)