summaryrefslogtreecommitdiffstats
path: root/lib/bucket_locks.c
diff options
context:
space:
mode:
authorTom Herbert2017-12-04 19:31:43 +0100
committerDavid S. Miller2017-12-11 15:58:38 +0100
commit2b86093135d014624f668658e1636f22a3027fc2 (patch)
tree20589b1f38ef6c5a12d38bfe2c923c4d519ab64f /lib/bucket_locks.c
parentrhashtable: Add rhastable_walk_peek (diff)
downloadkernel-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