diff options
Diffstat (limited to 'Documentation/kref.txt')
-rw-r--r-- | Documentation/kref.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/kref.txt b/Documentation/kref.txt index 42fe28445916..f38b59d00c63 100644 --- a/Documentation/kref.txt +++ b/Documentation/kref.txt | |||
@@ -67,7 +67,7 @@ void more_data_handling(void *cb_data) | |||
67 | . | 67 | . |
68 | . do stuff with data here | 68 | . do stuff with data here |
69 | . | 69 | . |
70 | kref_put(data, data_release); | 70 | kref_put(&data->refcount, data_release); |
71 | } | 71 | } |
72 | 72 | ||
73 | int my_data_handler(void) | 73 | int my_data_handler(void) |