]> 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)
commit5ebb9ff875231fa45426d739aee947a80e9e3a74
tree105d814d3ace4531f5b4bd593bb5e0dc998ab901
parent9e53f9d6962af0343c56bf01a72423697c8492a2
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