diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2018-03-28 12:05:35 +0200 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2018-04-12 09:41:19 -0700 |
commit | 3fd5d3ad35dc44aaf0f28d60cc0eb75887bff54d (patch) | |
tree | e94c5e90a62de825fe65c34093109d4ec40639e6 /lib/kobject.c | |
parent | 450b1f6f56350c630e795f240dc5a77aa8aa2419 (diff) |
gfs2: Stop using rhashtable_walk_peek
Function rhashtable_walk_peek is problematic because there is no
guarantee that the glock previously returned still exists; when that key
is deleted, rhashtable_walk_peek can end up returning a different key,
which will cause an inconsistent glock dump. Fix this by keeping track
of the current glock in the seq file iterator functions instead.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions