diff options
author | Christoph Hellwig <hch@lst.de> | 2025-03-17 06:48:32 +0100 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-03-18 14:47:45 +0100 |
commit | 1ec1207722c8bf584a09754afa2966698d6dd7af (patch) | |
tree | 22eb150278a84d37ae2d49f11d31fbdf822363ff /tools/perf/scripts/python/sched-migration.py | |
parent | 34ba1fcd74562b5a954e3fda5a303ab412682340 (diff) |
xfs: call xfs_buf_alloc_backing_mem from _xfs_buf_alloc
We never allocate a buffer without backing memory. Simplify the call
chain by calling xfs_buf_alloc_backing_mem from _xfs_buf_alloc. To
avoid a forward declaration, move _xfs_buf_alloc down a bit in the
file.
Also drop the pointless _-prefix from _xfs_buf_alloc.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions