From: Tao Ma Date: Wed, 12 Aug 2009 06:42:47 +0000 (+0800) Subject: ocfs2: release the buffer head in ocfs2_do_truncate. X-Git-Tag: v2.6.31-rc8~39^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60e2ec48665b8495360ca4a6004c5cd52beb2bc1;p=pandora-kernel.git 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 Signed-off-by: Joel Becker --- Reading git-diff-tree failed