aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2020-05-05 11:56:46 -0500
committerAndreas Gruenbacher <agruenba@redhat.com>2020-05-08 18:49:04 +0200
commitf4e2f5e1a527ce58fc9f85145b03704779a3123e (patch)
tree5db08d08950bda6f964188a825b96c6b8a472487 /fs/gfs2/glock.c
parentgfs2: don't call quota_unhold if quotas are not locked (diff)
downloadwireguard-linux-f4e2f5e1a527ce58fc9f85145b03704779a3123e.tar.xz
wireguard-linux-f4e2f5e1a527ce58fc9f85145b03704779a3123e.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions