From: NeilBrown Date: Tue, 22 May 2012 03:54:30 +0000 (+1000) Subject: md: dm-raid should call helper function to clear rdev. X-Git-Tag: v3.5-rc1~110^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=545c87957f4d53867b62921625f36df8c4b1bc08;p=pandora-kernel.git md: dm-raid should call helper function to clear rdev. dm-raid currently open-codes the freeing of some members of and rdev. It is more maintainable to have it call common code from md.c which does this for all call-sites. So remove free_disk_sb to md_rdev_clear, export it, and use it in dm-raid.c Signed-off-by: NeilBrown --- Reading git-diff-tree failed