aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/hash.h')
-rw-r--r--net/batman-adv/hash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/batman-adv/hash.h b/net/batman-adv/hash.h
index d4bd7862719b..93b3c71aeaf8 100644
--- a/net/batman-adv/hash.h
+++ b/net/batman-adv/hash.h
@@ -45,6 +45,10 @@ struct hashtable_t {
45/* allocates and clears the hash */ 45/* allocates and clears the hash */
46struct hashtable_t *hash_new(uint32_t size); 46struct hashtable_t *hash_new(uint32_t size);
47 47
48/* set class key for all locks */
49void batadv_hash_set_lock_class(struct hashtable_t *hash,
50 struct lock_class_key *key);
51
48/* free only the hashtable and the hash itself. */ 52/* free only the hashtable and the hash itself. */
49void hash_destroy(struct hashtable_t *hash); 53void hash_destroy(struct hashtable_t *hash);
50 54