aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-07-22 17:08:07 -0600
committerJens Axboe <[email protected]>2021-07-22 17:11:46 -0600
commit0cc936f74bcacb039b7533aeac0a887dfc896bf6 (patch)
tree16f36180e934e00fe2f5b34f37efadb21f8e2b53 /drivers/fpga/xilinx-spi.c
parent362a9e65289284f36403058eea2462d0330c1f24 (diff)
io_uring: fix early fdput() of file
A previous commit shuffled some code around, and inadvertently used struct file after fdput() had been called on it. As we can't touch the file post fdput() dropping our reference, move the fdput() to after that has been done. Cc: Pavel Begunkov <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/io-uring/[email protected]/ Fixes: f2a48dd09b8e ("io_uring: refactor io_sq_offload_create()") Reported-by: Al Viro <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions