]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - lib/rhashtable.c
rhashtable: Revise incorrect comment on r{hl, hash}table_walk_enter()
authorNeilBrown <neilb@suse.com>
Mon, 23 Apr 2018 22:29:13 +0000 (08:29 +1000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Apr 2018 17:21:45 +0000 (13:21 -0400)
commit82266e98dd4d8e7d5b8e4a0fedeb91f2eb29d306
tree105d814d3ace4531f5b4bd593bb5e0dc998ab901
parent0c6f69a5e3641bccfe21fd0eeafad45a8c6db987
rhashtable: Revise incorrect comment on r{hl, hash}table_walk_enter()

Neither rhashtable_walk_enter() or rhltable_walk_enter() sleep, though
they do take a spinlock without irq protection.
So revise the comments to accurately state the contexts in which
these functions can be called.

Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rhashtable.h
lib/rhashtable.c