From: Jing Zhang Date: Wed, 12 May 2010 04:00:00 +0000 (-0400) Subject: ext4: fix memory leaks in error path handling of ext4_ext_zeroout() X-Git-Tag: v2.6.35-rc1~39^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b720303df7352d4a7a1f61e467e0a124913c0d41;p=pandora-kernel.git ext4: fix memory leaks in error path handling of ext4_ext_zeroout() When EIO occurs after bio is submitted, there is no memory free operation for bio, which results in memory leakage. And there is also no check against bio_alloc() for bio. Acked-by: Dave Kleikamp Signed-off-by: Jing Zhang Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed