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

xfs_buf_free_maps only has a single caller, so open code it there.  Stop
zeroing the b_maps pointer as the buffer is freed in the next line.

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