diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-11 19:26:45 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-13 22:17:05 -0500 |
commit | 6a25478077d987edc5e2f880590a2bc5fcab4441 (patch) | |
tree | e90ca8ac7d76b7474e030b3b0b4138c143f2a334 /net | |
parent | 4872e57c812dd312bf8193b5933fa60585cda42f (diff) | |
download | linux-6a25478077d987edc5e2f880590a2bc5fcab4441.tar.bz2 |
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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions