commit | f4e2f5e1a527ce58fc9f85145b03704779a3123e | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Tue May 05 11:56:46 2020 -0500 |
committer | Andreas Gruenbacher <agruenba@redhat.com> | Fri May 08 18:49:04 2020 +0200 |
tree | 5db08d08950bda6f964188a825b96c6b8a472487 | |
parent | c9cb9e381985bbbe8acd2695bbe6bd24bf06b81c [diff] |
gfs2: Grab glock reference sooner in gfs2_add_revoke This patch rearranges gfs2_add_revoke so that the extra glock reference is added earlier on in the function to avoid races in which the glock is freed before the new reference is taken. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>