diff options
author | NeilBrown <neilb@suse.com> | 2019-04-12 03:52:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-13 02:34:45 +0200 |
commit | f4712b46a529ca2da078c82d5d99d367c7ebf82b (patch) | |
tree | 0e77f82fcf92c8483e192ecba4acb6ce8c5a86a8 /crypto/algif_rng.c | |
parent | rhashtable: move dereference inside rht_ptr() (diff) | |
download | linux-f4712b46a529ca2da078c82d5d99d367c7ebf82b.tar.xz linux-f4712b46a529ca2da078c82d5d99d367c7ebf82b.zip |
rhashtable: replace rht_ptr_locked() with rht_assign_locked()
The only times rht_ptr_locked() is used, it is to store a new
value in a bucket-head. This is the only time it makes sense
to use it too. So replace it by a function which does the
whole task: Sets the lock bit and assigns to a bucket head.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/algif_rng.c')
0 files changed, 0 insertions, 0 deletions