ocfs2: release the buffer head in ocfs2_do_truncate.
authorTao Ma <tao.ma@oracle.com>
Wed, 12 Aug 2009 06:42:47 +0000 (14:42 +0800)
committerJoel Becker <joel.becker@oracle.com>
Mon, 17 Aug 2009 19:50:35 +0000 (12:50 -0700)
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>

No differences found