diff options
author | Bob Peterson <[email protected]> | 2020-04-23 14:30:57 -0500 |
---|---|---|
committer | Andreas Gruenbacher <[email protected]> | 2020-05-08 14:45:38 +0200 |
commit | a8b7528b69d4dc7e94d0338851ff8c929231fc4b (patch) | |
tree | ea62be8a053fa2dd9ba94407025973fb9f74fbfe /scripts/bpf_helpers_doc.py | |
parent | ac9155842829a811c12d3e1868a133fdb8300df0 (diff) |
gfs2: Fix error exit in do_xmote
Before this patch, if an error was detected from glock function go_sync
by function do_xmote, it would return. But the function had temporarily
unlocked the gl_lockref spin_lock, and it never re-locked it. When the
caller of do_xmote tried to unlock it again, it was already unlocked,
which resulted in a corrupted spin_lock value.
This patch makes sure the gl_lockref spin_lock is re-locked after it is
unlocked.
Thanks to Wu Bo <[email protected]> for reporting this problem.
Signed-off-by: Bob Peterson <[email protected]>
Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions