]> Git Repo - linux.git/commit
gfs2: Grab glock reference sooner in gfs2_add_revoke
authorAndreas Gruenbacher <[email protected]>
Tue, 5 May 2020 16:56:46 +0000 (11:56 -0500)
committerAndreas Gruenbacher <[email protected]>
Fri, 8 May 2020 16:49:04 +0000 (18:49 +0200)
commitf4e2f5e1a527ce58fc9f85145b03704779a3123e
tree5db08d08950bda6f964188a825b96c6b8a472487
parentc9cb9e381985bbbe8acd2695bbe6bd24bf06b81c
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 <[email protected]>
Signed-off-by: Bob Peterson <[email protected]>
fs/gfs2/log.c
This page took 0.053613 seconds and 4 git commands to generate.