diff options
author | Alexander Aring <aahringo@redhat.com> | 2025-02-28 17:48:50 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2025-02-28 19:24:21 -0500 |
commit | 94e6e889a786dd16542fc8f2a45405fa13e3bbb5 (patch) | |
tree | 0032a46dc66e47e774ed1e364a1615d01c33186c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8e2bad543eca5c25cd02cbc63d72557934d45f13 (diff) |
dlm: fix error if inactive rsb is not hashed
If an inactive rsb is not hashed anymore and this could occur because we
releases and acquired locks we need to signal the followed code that the
lookup failed. Since the lookup was successful, but it isn't part of the
rsb hash anymore we need to signal it by setting error to -EBADR as
dlm_search_rsb_tree() does it.
Cc: stable@vger.kernel.org
Fixes: 01fdeca1cc2d ("dlm: use rcu to avoid an extra rsb struct lookup")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions