]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:21:25 +0000 (11:21 -0400)
commit385a7c219d5283f6d8884fa511e18bb23ac7e458
treea91ff93dce266a43a084e79b75e5bdcda6c681c3
parent87427757d68880e51cfd8ab45ae38b0e8f90ce78
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: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/md/dm.c