aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2017-02-11 19:26:45 +0800
committerDavid S. Miller <[email protected]>2017-02-17 12:28:22 -0500
commit98687f426bb3e93b9dbbfb614ba331192beae482 (patch)
treea857800b4709df6830f499701abe4c10a502996f /lib/string_helpers.c
parent4581be42fce5e1d208cbeb8e78df3f1b4673eff7 (diff)
gfs2: Use rhashtable walk interface in glock_hash_walk
The function glock_hash_walk walks the rhashtable by hand. This is broken because if it catches the hash table in the middle of a rehash, then it will miss entries. This patch replaces the manual walk by using the rhashtable walk interface. Fixes: 88ffbf3e037e ("GFS2: Use resizable hash table for glocks") Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions