]> git.baikalelectronics.ru Git - kernel.git/commit
dm: refactor dm_md_mempool allocation
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Jun 2022 06:34:09 +0000 (08:34 +0200)
committerMike Snitzer <snitzer@kernel.org>
Wed, 29 Jun 2022 16:46:06 +0000 (12:46 -0400)
commitbf590dcd20e959ba179e4e115b9ffe185cb48cb0
tree42cefa95e782c4157125cbbe136f6c9a011d0ac0
parentfe8d70fdf8611cd057564e6751884b5b4fbd8966
dm: refactor dm_md_mempool allocation

The current split between dm_table_alloc_md_mempools and
dm_alloc_md_mempools is rather arbitrary, so merge the two
into one easy to follow function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-core.h
drivers/md/dm-table.c
drivers/md/dm.c
drivers/md/dm.h