aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2015-03-24 09:18:18 -0400
committerDavid S. Miller <davem@davemloft.net>2015-03-24 17:48:39 -0400
commitac833bddb591b9c7a0609f440f196375be184044 (patch)
tree6895198af44984a68c8d26af9338829b24610445
parent299e5c32a37a6bca8175db177117467bd1ce970a (diff)
rhashtable: Mark internal/private inline functions as such
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/rhashtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/rhashtable.h b/include/linux/rhashtable.h
index f89cda067cb9..0e1f975ad101 100644
--- a/include/linux/rhashtable.h
+++ b/include/linux/rhashtable.h
@@ -539,6 +539,7 @@ restart:
539 return NULL; 539 return NULL;
540} 540}
541 541
542/* Internal function, please use rhashtable_insert_fast() instead */
542static inline int __rhashtable_insert_fast( 543static inline int __rhashtable_insert_fast(
543 struct rhashtable *ht, const void *key, struct rhash_head *obj, 544 struct rhashtable *ht, const void *key, struct rhash_head *obj,
544 const struct rhashtable_params params) 545 const struct rhashtable_params params)
@@ -711,6 +712,7 @@ static inline int rhashtable_lookup_insert_key(
711 return __rhashtable_insert_fast(ht, key, obj, params); 712 return __rhashtable_insert_fast(ht, key, obj, params);
712} 713}
713 714
715/* Internal function, please use rhashtable_remove_fast() instead */
714static inline int __rhashtable_remove_fast( 716static inline int __rhashtable_remove_fast(
715 struct rhashtable *ht, struct bucket_table *tbl, 717 struct rhashtable *ht, struct bucket_table *tbl,
716 struct rhash_head *obj, const struct rhashtable_params params) 718 struct rhash_head *obj, const struct rhashtable_params params)