]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm: fix idr leak on module removal
authorAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:01 +0000 (12:32 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Aug 2011 17:36:10 +0000 (10:36 -0700)
commit8d637efc631096456dba6ae73d5fdc5eecd2906d
tree3d9ca120f1930e4c39e2bfc70f8ad03b2316ce47
parent1120616a78cceff1b4a417c61b94da35edf09bdf
dm: fix idr leak on module removal

commit d15b774c2920d55e3d58275c97fbe3adc3afde38 upstream.

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

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm.c