diff options
| author | 2025-09-30 11:03:44 +0100 | |
|---|---|---|
| committer | 2025-11-24 21:37:36 +0100 | |
| commit | 2346b966c66a7b9cfef948939ae0526bebb4bef7 (patch) | |
| tree | 38330784a261e7ec1b526b52df537512f4aa1ba3 /scripts/Makefile.thinlto | |
| parent | btrfs: fix trivial -Wshadow warnings (diff) | |
btrfs: refactor allocation size calculation in alloc_btrfs_io_context()
Use struct_size() to replace the open-coded calculation, remove the
comment as use of the helper is self explanatory.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Mehdi Ben Hadj Khelifa <mehdi.benhadjkhelifa@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
