GFS2: Remove unnecessary declare of jhash in rhashtable params
PATCH 1/1 GFS2: Remove unnecessary declare of jhash in rhashtable params
In reply to a message not in the archiveHi,
This patch simply removes the field .jhash from structure ht_parms, as suggested by Andreas, since jhash is already the default.
Signed-off-by Bob Peterson <[email protected]>
---
fs/gfs2/glock.c +0 -1
@@ -76,7 +76,6 @@ static struct rhashtable_params ht_parms = { .key_len = sizeof(struct lm_lockname), .key_offset = offsetof(struct gfs2_glock, gl_name), .head_offset = offsetof(struct gfs2_glock, gl_node), - .hashfn = jhash, };static struct rhashtable gl_hash_table;