diff options
author | Baokun Li <[email protected]> | 2023-04-24 11:38:38 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2023-06-26 19:35:12 -0400 |
commit | 95f0b320339a977cf69872eac107122bf536775d (patch) | |
tree | f2faba53cb7e7ed6be07dd14b70c6cccf45180d7 /drivers/fpga/fpga-mgr.c | |
parent | 73a2f033656be11298912201ad50615307b4477a (diff) |
ext4: use pre-allocated es in __es_insert_extent()
Pass a extent_status pointer prealloc to __es_insert_extent(). If the
pointer is non-null, it is used directly when a new extent_status is
needed to avoid memory allocation failures.
Suggested-by: Jan Kara <[email protected]>
Signed-off-by: Baokun Li <[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