commit | b720303df7352d4a7a1f61e467e0a124913c0d41 | [log] [tgz] |
---|---|---|
author | Jing Zhang <zj.barak@gmail.com> | Wed May 12 00:00:00 2010 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed May 12 00:00:00 2010 -0400 |
tree | d0c102111ed28ced2d3a0dbfed987f9b8ed5db37 | |
parent | c26d0bad3d0e951487e5dee36632dd3817f42b10 [diff] |
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 <shaggy@linux.vnet.ibm.com> Signed-off-by: Jing Zhang <zj.barak@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>