summaryrefslogtreecommitdiff
path: root/fs/ocfs2/aops.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-06-22 22:52:36 (GMT)
committerMark Fasheh <mark.fasheh@oracle.com>2007-07-11 00:31:55 (GMT)
commit59a5e416d1ab543a5248a2b34d83202c4d55d132 (patch)
tree3e97ce48774d26e8a927edd839dd54a7d68f8c7d /fs/ocfs2/aops.c
parent2b604351bc99b4e4504758cbac369b660b71de0b (diff)
downloadlinux-59a5e416d1ab543a5248a2b34d83202c4d55d132.tar.xz
ocfs2: plug truncate into cached dealloc routines
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/aops.c')
-rw-r--r--fs/ocfs2/aops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c
index e8d16ae..510bf84 100644
--- a/fs/ocfs2/aops.c
+++ b/fs/ocfs2/aops.c
@@ -1498,6 +1498,7 @@ int ocfs2_write_end_nolock(struct address_space *mapping,
ocfs2_journal_dirty(handle, wc->w_di_bh);
ocfs2_commit_trans(osb, handle);
+
ocfs2_free_write_ctxt(wc);
return copied;