]> git.baikalelectronics.ru Git - kernel.git/commit
rhashtable: Call library function alloc_bucket_locks
authorTom Herbert <tom@quantonium.net>
Mon, 4 Dec 2017 18:31:45 +0000 (10:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Dec 2017 14:58:39 +0000 (09:58 -0500)
commit22ba9b11262053bb7d27d9d471a9fefa623a4620
tree98769c3324dd57bc2070c08852c9bf1f272ba2b8
parent1a33f532c4b4659faf78aaa60b32c80ad1b3bb01
rhashtable: Call library function alloc_bucket_locks

To allocate the array of bucket locks for the hash table we now
call library function alloc_bucket_spinlocks. This function is
based on the old alloc_bucket_locks in rhashtable and should
produce the same effect.

Signed-off-by: Tom Herbert <tom@quantonium.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c