xfs: refactor buffer cancellation table allocation
[ Upstream commit 27232349 ] Move the code that allocates and frees the buffer cancellation tables used by log recovery into the file that actually uses the tables. This is a precursor to some cleanups and a memory leak fix. ( backport: dependency of 8db074bd ) Signed-off-by:Darrick J. Wong <djwong@kernel.org> Reviewed-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
Dave Chinner <dchinner@redhat.com> Signed-off-by:
Dave Chinner <david@fromorbit.com> Signed-off-by:
Leah Rumancik <leah.rumancik@gmail.com> Acked-by:
Chandan Babu R <chandanbabu@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading