mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
rhashtable: RCU annotations for next pointers
Properly annotate next pointers as access is RCU protected in the lookup path. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0c9ab09223
commit
5300fdcb7b
2 changed files with 3 additions and 3 deletions
|
@ -386,7 +386,7 @@ EXPORT_SYMBOL_GPL(rhashtable_insert);
|
|||
* deletion when combined with walking or lookup.
|
||||
*/
|
||||
void rhashtable_remove_pprev(struct rhashtable *ht, struct rhash_head *obj,
|
||||
struct rhash_head **pprev, gfp_t flags)
|
||||
struct rhash_head __rcu **pprev, gfp_t flags)
|
||||
{
|
||||
struct bucket_table *tbl = rht_dereference(ht->tbl, ht);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue