ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
authorJing Zhang <zj.barak@gmail.com>
Wed, 12 May 2010 04:00:00 +0000 (00:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 12 May 2010 04:00:00 +0000 (00:00 -0400)
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 <shaggy@linux.vnet.ibm.com>
Signed-off-by: Jing Zhang <zj.barak@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found