Commit 6b79a42
Mike Snitzer
dm integrity: call kmem_cache_destroy() in dm_integrity_init() error path
Otherwise the journal_io_cache will leak if dm_register_target() fails.
Cc: stable@vger.kernel.org
Signed-off-by: Mike Snitzer <snitzer@kernel.org>1 parent 6827af4 commit 6b79a42
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4703 | 4703 | | |
4704 | 4704 | | |
4705 | 4705 | | |
4706 | | - | |
4707 | | - | |
| 4706 | + | |
4708 | 4707 | | |
| 4708 | + | |
| 4709 | + | |
| 4710 | + | |
4709 | 4711 | | |
4710 | | - | |
| 4712 | + | |
4711 | 4713 | | |
4712 | 4714 | | |
4713 | 4715 | | |
| |||
0 commit comments