From: Andre Noll Date: Tue, 16 Jun 2009 06:48:19 +0000 (+1000) Subject: md: raid0: Fix a memory leak when stopping a raid0 array. X-Git-Tag: v2.6.31-rc1~143^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb5ab4b5d6e16fd5006c9f800d0116f3547cb760;p=pandora-kernel.git md: raid0: Fix a memory leak when stopping a raid0 array. raid0_stop() removes all references to the raid0 configuration but misses to free the ->devlist buffer. This patch closes this leak, removes a pointless initialization and fixes a coding style issue in raid0_stop(). Signed-off-by: Andre Noll Signed-off-by: NeilBrown --- Reading git-diff-tree failed