diff options
author | 2021-11-22 17:32:35 +0100 | |
---|---|---|
committer | 2021-12-02 12:41:09 +0100 | |
commit | e11b02df60bdf2ac6bb8eaed525db4f02415a902 (patch) | |
tree | ae59399f778d3e779643ce14e1bb46f3f36fd62b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge tag 'gfs2-v5.16-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 (diff) | |
download | wireguard-linux-e11b02df60bdf2ac6bb8eaed525db4f02415a902.tar.xz wireguard-linux-e11b02df60bdf2ac6bb8eaed525db4f02415a902.zip |
gfs2: Fix remote demote of weak glock holders
When we mock up a temporary holder in gfs2_glock_cb to demote weak holders in
response to a remote locking conflict, we don't set the HIF_HOLDER flag. This
causes function may_grant to BUG. Fix by setting the missing HIF_HOLDER flag
in the mock glock holder.
In addition, define the mock glock holder where it is used.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions