summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSatyam Sharma <ssatyam@cse.iitk.ac.in>2007-05-11 19:07:14 +0200
committerAdrian Bunk <bunk@stusta.de>2007-05-11 19:07:14 +0200
commitb7cc4a879c4fed0adea23e9931d7b1944d103d2b (patch)
tree404f12a105fe06d9748502f1b755894aee2ad817
parent129a84de2347002f09721cda3155ccfd19fade40 (diff)
Fix wrong identifier name in Documentation/kref.txt
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>
-rw-r--r--Documentation/kref.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/kref.txt b/Documentation/kref.txt
index 42fe2844591..f38b59d00c6 100644
--- a/Documentation/kref.txt
+++ b/Documentation/kref.txt
@@ -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)