diff options
author | Tom Herbert | 2017-12-04 19:31:43 +0100 |
---|---|---|
committer | David S. Miller | 2017-12-11 15:58:38 +0100 |
commit | 2b86093135d014624f668658e1636f22a3027fc2 (patch) | |
tree | 20589b1f38ef6c5a12d38bfe2c923c4d519ab64f /lib/bucket_locks.c | |
parent | rhashtable: Add rhastable_walk_peek (diff) | |
download | kernel-qcow2-linux-2b86093135d014624f668658e1636f22a3027fc2.tar.gz kernel-qcow2-linux-2b86093135d014624f668658e1636f22a3027fc2.tar.xz kernel-qcow2-linux-2b86093135d014624f668658e1636f22a3027fc2.zip |
rhashtable: abstract out function to get hash
Split out most of rht_key_hashfn which is calculating the hash into
its own function. This way the hash function can be called separately to
get the hash value.
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Tom Herbert <tom@quantonium.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/bucket_locks.c')
0 files changed, 0 insertions, 0 deletions