dmapool: move debug code to own functions
authorKeith Busch <kbusch@kernel.org>
Thu, 26 Jan 2023 21:51:19 +0000 (13:51 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 6 May 2023 17:33:37 +0000 (10:33 -0700)
commitd93e08b7556fcd393b7fd1eb421cb44e5fae314c
tree92dafe2102b5076e186af9b21bc30ac7dc8cddee
parent290911c56f98ac7af9354108f3d16da5d6c5189c
dmapool: move debug code to own functions

Clean up the normal path by moving the debug code outside it.

Link: https://lkml.kernel.org/r/20230126215125.4069751-7-kbusch@meta.com
Fixes: 2d55c16c0c54 ("dmapool: create/destroy cleanup")
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/dmapool.c