Skip to content
Snippets Groups Projects
Commit 8209432a authored by Bhumika Goyal's avatar Bhumika Goyal Committed by David S. Miller
Browse files

RDS: make rhashtable_params const


Make this const as it is either used during a copy operation or passed
to a const argument of the function rhltable_init

Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aa8db499
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
static struct rhashtable bind_hash_table;
static struct rhashtable_params ht_parms = {
static const struct rhashtable_params ht_parms = {
.nelem_hint = 768,
.key_len = sizeof(u64),
.key_offset = offsetof(struct rds_sock, rs_bound_key),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment