aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-03-17 05:48:32 +0000
committerCarlos Maiolino <[email protected]>2025-03-18 13:47:45 +0000
commit1ec1207722c8bf584a09754afa2966698d6dd7af (patch)
tree22eb150278a84d37ae2d49f11d31fbdf822363ff /fs/xfs/xfs_rtalloc.c
parentxfs: remove unnecessary NULL check before kvfree() (diff)
downloadkernel-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