]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: remove xfs_buf_get_maps
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Mar 2025 05:48:33 +0000 (06:48 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 18 Mar 2025 13:47:45 +0000 (14:47 +0100)
commit5abea7094bdff895c6f9e579745ecd9883bfb231
tree27665b55ad495c7897c2d961324e00b7ce5b3735
parent1ec1207722c8bf584a09754afa2966698d6dd7af
xfs: remove xfs_buf_get_maps

xfs_buf_get_maps has a single caller, and can just be open coded there.
When doing that, stop handling the allocation failure as we always pass
__GFP_NOFAIL to the slab allocator, and use the proper kcalloc helper for
array allocations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_buf.c