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)
commit64e0cd0d3540dbbdf6661943025409e6b31d5178
tree98769c3324dd57bc2070c08852c9bf1f272ba2b8
parent92f36cca5773cbaa78c46ccf49503964a52da294
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