diff options
author | NeilBrown <neilb@suse.com> | 2019-03-21 14:42:40 +1100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-21 14:01:10 -0700 |
commit | f7ad68bf98506f48129267438ada1255fc4edfa2 (patch) | |
tree | ef06326ec2416d68d576a92ba3ed5b2be45f14b7 /net/rds | |
parent | 4feb7c7a4fbb8f63371be31cda79433c7cf3da86 (diff) | |
download | linux-f7ad68bf98506f48129267438ada1255fc4edfa2.tar.bz2 |
rhashtable: rename rht_for_each*continue as *from.
The pattern set by list.h is that for_each..continue()
iterators start at the next entry after the given one,
while for_each..from() iterators start at the given
entry.
The rht_for_each*continue() iterators are documented as though the
start at the 'next' entry, but actually start at the given entry,
and they are used expecting that behaviour.
So fix the documentation and change the names to *from for consistency
with list.h
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions