md: raid1/raid10 md devices leak memory when stopping
authorHirokazu Takahashi <taka@valinux.co.jp>
Wed, 24 Apr 2013 01:42:44 +0000 (11:42 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 30 Apr 2013 04:49:26 +0000 (14:49 +1000)
commit0fea7ed82b1edf384735a2b535368f54a8584c3a
tree665a368ec22cf84d17b92b90c0966a8a12266b5d
parentbe83651f0050ca8621d58d35dad558e9c45cb18f
md: raid1/raid10 md devices leak memory when stopping

Hi.

Raid1 and raid10 devices leak memory every time they stop.
This is a patch for linux-3.9.0-rc7 to fix this problem.

Thanks,
Hirokazu Takahashi.

Signed-off-by: Hirokazu Takahashi <taka@valinux.co.jp>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c
drivers/md/raid10.c