commit | 60e2ec48665b8495360ca4a6004c5cd52beb2bc1 | [log] [tgz] |
---|---|---|
author | Tao Ma <tao.ma@oracle.com> | Wed Aug 12 14:42:47 2009 +0800 |
committer | Joel Becker <joel.becker@oracle.com> | Mon Aug 17 12:50:35 2009 -0700 |
tree | dbd938e337b3191bbe16336cb414b9d55c5fdc81 | |
parent | ada508274b8698a33cb0e5bd037db0f9dc781795 [diff] |
ocfs2: release the buffer head in ocfs2_do_truncate. In ocfs2_do_truncate, we forget to release last_eb_bh which will cause memleak. So call brelse in the end. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>