Skip to content
Commit f4e2f5e1 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

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: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent c9cb9e38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment