aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorXiyu Yang <[email protected]>2021-07-19 05:59:14 +0000
committerTheodore Ts'o <[email protected]>2021-11-04 14:33:24 +0000
commit31d21d219b51dcfb16e18427eddae5394d402820 (patch)
tree15aedfa14e985faefebd636c0869a63c08c9473e /drivers/fpga/fpga-mgr.c
parentext4: refresh the ext4_ext_path struct after dropping i_data_sem. (diff)
downloadkernel-31d21d219b51dcfb16e18427eddae5394d402820.tar.gz
kernel-31d21d219b51dcfb16e18427eddae5394d402820.zip
ext4: convert from atomic_t to refcount_t on ext4_io_end->count
refcount_t type and corresponding API can protect refcounters from accidental underflow and overflow and further use-after-free situations. Signed-off-by: Xiyu Yang <[email protected]> Signed-off-by: Xin Tan <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions