rhashtable: Factor out bucket_tail() function
authorThomas Graf <tgraf@suug.ch>
Fri, 2 Jan 2015 22:00:17 +0000 (23:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Jan 2015 19:32:57 +0000 (14:32 -0500)
commitb8e1943e9f754219bcfb40bac4a605b5348acb25
treea80b48e78a57a10ace266997f65f754034cce083
parent88d6ed15acff1cb44b1d1f3c0a393b7f7744957a
rhashtable: Factor out bucket_tail() function

Subsequent patches will require access to the bucket tail. Access
to the tail is relatively cheap as the automatic resizing of the
table should keep the number of entries per bucket to no more
than 0.75 on average.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c