From: NeilBrown Date: Thu, 8 Jan 2009 21:31:09 +0000 (+1100) Subject: md: centralise all freeing of an 'mddev' in 'md_free' X-Git-Tag: v2.6.29-rc1~47^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a21d15042d8cd736caf82c2bac564f3f93f3d017;p=pandora-kernel.git md: centralise all freeing of an 'mddev' in 'md_free' md_free is the .release handler for the md kobj_type. So it makes sense to release all the objects referenced by the mddev in there, rather than just prior to calling kobject_put for what we think is the last time. Signed-off-by: NeilBrown --- Reading git-diff-tree failed