From: majianpeng Date: Tue, 22 May 2012 03:55:03 +0000 (+1000) Subject: md/raid10: Fix memleak in r10buf_pool_alloc X-Git-Tag: v3.5-rc1~110^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fdd2cf8265c6de0f190dea80cc4c50da8f31293;p=pandora-kernel.git md/raid10: Fix memleak in r10buf_pool_alloc If the allocation of rep1_bio fails, we currently don't free the 'bio' of the same dev. Reported by kmemleak. Signed-off-by: majianpeng Signed-off-by: NeilBrown --- Reading git-diff-tree failed