diff options
| author | Mikulas Patocka <[email protected]> | 2024-11-11 15:51:02 +0000 |
|---|---|---|
| committer | Mikulas Patocka <[email protected]> | 2024-11-11 16:04:39 +0000 |
| commit | 346dbf1b1345476a6524512892cceb931bee3039 (patch) | |
| tree | ccf912859cf6d78384303a0a8a8ba244f88d2872 /drivers/cdx/controller/cdx_controller.c | |
| parent | dm-bufio: fix warnings about duplicate slab caches (diff) | |
| download | kernel-346dbf1b1345476a6524512892cceb931bee3039.tar.gz kernel-346dbf1b1345476a6524512892cceb931bee3039.zip | |
dm-cache: fix warnings about duplicate slab caches
The commit 4c39529663b9 adds a warning about duplicate cache names if
CONFIG_DEBUG_VM is selected. These warnings are triggered by the dm-cache
code.
The dm-cache code allocates a slab cache for each device. This commit
changes it to allocate just one slab cache in the module init function.
Signed-off-by: Mikulas Patocka <[email protected]>
Fixes: 4c39529663b9 ("slab: Warn on duplicate cache names when DEBUG_VM=y")
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
