Herbert Xu 2557969fb4 gfs2: Use rhashtable walk interface in glock_hash_walk
[ Upstream commit 6a25478077d987edc5e2f880590a2bc5fcab4441 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-17 06:41:50 +02:00
..
2016-05-12 22:28:05 -04:00
2014-03-03 13:50:12 +00:00
2016-06-27 09:47:09 -05:00
2016-06-27 09:47:08 -05:00
2016-06-27 09:47:09 -05:00
2016-08-02 12:05:27 -05:00
2013-06-03 14:20:18 -07:00
2015-11-09 15:11:24 -08:00
2016-06-07 13:41:38 -06:00
2014-05-14 10:04:34 +01:00
2016-06-07 13:41:38 -06:00
2011-05-10 13:12:49 +01:00
2016-08-02 12:05:27 -05:00
2016-08-02 12:05:27 -05:00
2015-05-05 13:23:22 -05:00
2012-01-11 09:23:05 +00:00
2015-12-06 21:25:17 -05:00