diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2020-07-27 20:18:57 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2020-08-03 14:45:37 +0300 |
commit | c07bfb4d8fa1ee11c6d18b093d0bb6c8832d3626 (patch) | |
tree | 2a15ed75ca0f4b009a65f9572ee053db321b8344 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 4c5c3010408d872359134cfa209619778d8f15e6 (diff) | |
download | linux-c07bfb4d8fa1ee11c6d18b093d0bb6c8832d3626.tar.xz |
gfs2: Fix refcount leak in gfs2_glock_poke
In gfs2_glock_poke, make sure gfs2_holder_uninit is called on the local
glock holder. Without that, we're leaking a glock and a pid reference.
Fixes: 9e8990dea926 ("gfs2: Smarter iopen glock waiting")
Cc: stable@vger.kernel.org # v5.8+
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions