aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2021-08-09 22:43:55 +0000
committerAndreas Gruenbacher <[email protected]>2021-10-20 17:33:08 +0000
commit6144464937fe1e6135b13a30502a339d549bf093 (patch)
tree3484777082fadb7fd12622226fae8f8ca75a2644 /drivers/fpga/xilinx-spi.c
parentgfs2: Add wrapper for iomap_file_buffered_write (diff)
downloadkernel-6144464937fe1e6135b13a30502a339d549bf093.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions