diff options
author | mochel@digitalimplant.org <mochel@digitalimplant.org> | 2005-03-24 15:58:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 18:15:17 -0400 |
commit | 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 (patch) | |
tree | 17935d1064101df10ad7bb2f7ed94e6a88af295c /include/linux/klist.h | |
parent | 2287c322b61fced7e0c326a1a9606aa73147e3df (diff) |
[PATCH] add klist_node_attached() to determine if a node is on a list or not.
Signed-off-by: Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff -Nru a/include/linux/klist.h b/include/linux/klist.h
Diffstat (limited to 'include/linux/klist.h')
-rw-r--r-- | include/linux/klist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/klist.h b/include/linux/klist.h index fb52f9d9d611..eebf5e5696ec 100644 --- a/include/linux/klist.h +++ b/include/linux/klist.h | |||
@@ -37,6 +37,8 @@ extern void klist_add_head(struct klist * k, struct klist_node * n); | |||
37 | extern void klist_del(struct klist_node * n); | 37 | extern void klist_del(struct klist_node * n); |
38 | extern void klist_remove(struct klist_node * n); | 38 | extern void klist_remove(struct klist_node * n); |
39 | 39 | ||
40 | extern int klist_node_attached(struct klist_node * n); | ||
41 | |||
40 | 42 | ||
41 | struct klist_iter { | 43 | struct klist_iter { |
42 | struct klist * i_klist; | 44 | struct klist * i_klist; |