]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit25fb9db6644f5cac21ec97a0f7daf86fa07120f2
tree105d814d3ace4531f5b4bd593bb5e0dc998ab901
parentbaa295779c702b0408da8af1b6358c445cb5e330
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