diff options
author | 2021-08-10 00:43:55 +0200 | |
---|---|---|
committer | 2021-10-20 19:33:08 +0200 | |
commit | 6144464937fe1e6135b13a30502a339d549bf093 (patch) | |
tree | 3484777082fadb7fd12622226fae8f8ca75a2644 /scripts/gdb/linux/utils.py | |
parent | gfs2: Add wrapper for iomap_file_buffered_write (diff) | |
download | linux-dev-6144464937fe1e6135b13a30502a339d549bf093.tar.xz linux-dev-6144464937fe1e6135b13a30502a339d549bf093.zip |
gfs2: Clean up function may_grant
Pass the first current glock holder into function may_grant and
deobfuscate the logic there.
While at it, switch from BUG_ON to GLOCK_BUG_ON in may_grant. To make
that build cleanly, de-constify the may_grant arguments.
We're now using function find_first_holder in do_promote, so move the
function's definition above do_promote.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions