diff options
| author | Christoph Hellwig <[email protected]> | 2025-03-17 05:48:32 +0000 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2025-03-18 13:47:45 +0000 |
| commit | 1ec1207722c8bf584a09754afa2966698d6dd7af (patch) | |
| tree | 22eb150278a84d37ae2d49f11d31fbdf822363ff /fs/xfs/xfs_rtalloc.c | |
| parent | xfs: remove unnecessary NULL check before kvfree() (diff) | |
| download | kernel-1ec1207722c8bf584a09754afa2966698d6dd7af.tar.gz kernel-1ec1207722c8bf584a09754afa2966698d6dd7af.zip | |
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 <[email protected]>
Reviewed-by: Carlos Maiolino <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions
