diff options
author | Tao Ma <tao.ma@oracle.com> | 2009-08-12 08:42:47 +0200 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-08-17 21:50:35 +0200 |
commit | 60e2ec48665b8495360ca4a6004c5cd52beb2bc1 (patch) | |
tree | dbd938e337b3191bbe16336cb414b9d55c5fdc81 /fs/locks.c | |
parent | ocfs2: Handle quota file corruption more gracefully (diff) | |
download | linux-60e2ec48665b8495360ca4a6004c5cd52beb2bc1.tar.xz linux-60e2ec48665b8495360ca4a6004c5cd52beb2bc1.zip |
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>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions