Skip to content
Commit 3526d657 authored by Alasdair G Kergon's avatar Alasdair G Kergon Committed by Herton Ronaldo Krzesinski
Browse files

dm: fix idr leak on module removal



BugLink: http://bugs.launchpad.net/bugs/823296

commit d15b774c2920d55e3d58275c97fbe3adc3afde38 upstream.

Destroy _minor_idr when unloading the core dm module.  (Found by kmemleak.)

Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 68c8ad20
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment