summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorMehdi Ben Hadj Khelifa <mehdi.benhadjkhelifa@gmail.com>2025-09-30 11:03:44 +0100
committerDavid Sterba <dsterba@suse.com>2025-11-24 21:37:36 +0100
commit2346b966c66a7b9cfef948939ae0526bebb4bef7 (patch)
tree38330784a261e7ec1b526b52df537512f4aa1ba3 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentaebe2bb0b861795cd832473b7257c6cc1cd086d0 (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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions