diff options
| author | David Sterba <dsterba@suse.com> | 2026-04-14 17:30:34 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-06-08 15:53:28 +0200 |
| commit | 37f1f51fba1a4320149b1ea3b21d254d4b221b0a (patch) | |
| tree | 472b7fa4bfb5770f084d0ad7bf365ce6213a6d32 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 9f4ab0787e7bf6d2c709207317e9d4cd43909869 (diff) | |
btrfs: convert kmalloc_array to kmalloc_objs in btrfs_calc_avail_data_space()
There's one use of kmalloc_array() that can be transformed to
kmalloc_objs() in the same way as suggested in commit 69050f8d6d075d
("treewide: Replace kmalloc with kmalloc_obj for non-scalar types"),
swap the arguments and drop GFP flags. All the other cases of
kmalloc_array() do not use a simple type so this is the only one.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
