aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/alloc.h
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-06-22 18:52:36 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2007-07-10 20:31:55 -0400
commit59a5e416d1ab543a5248a2b34d83202c4d55d132 (patch)
tree3e97ce48774d26e8a927edd839dd54a7d68f8c7d /fs/ocfs2/alloc.h
parent2b604351bc99b4e4504758cbac369b660b71de0b (diff)
ocfs2: plug truncate into cached dealloc routines
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/alloc.h')
-rw-r--r--fs/ocfs2/alloc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h
index 01db0adc2150..cb02e53b593c 100644
--- a/fs/ocfs2/alloc.h
+++ b/fs/ocfs2/alloc.h
@@ -83,8 +83,7 @@ int ocfs2_run_deallocs(struct ocfs2_super *osb,
83 struct ocfs2_cached_dealloc_ctxt *ctxt); 83 struct ocfs2_cached_dealloc_ctxt *ctxt);
84 84
85struct ocfs2_truncate_context { 85struct ocfs2_truncate_context {
86 struct inode *tc_ext_alloc_inode; 86 struct ocfs2_cached_dealloc_ctxt tc_dealloc;
87 struct buffer_head *tc_ext_alloc_bh;
88 int tc_ext_alloc_locked; /* is it cluster locked? */ 87 int tc_ext_alloc_locked; /* is it cluster locked? */
89 /* these get destroyed once it's passed to ocfs2_commit_truncate. */ 88 /* these get destroyed once it's passed to ocfs2_commit_truncate. */
90 struct buffer_head *tc_last_eb_bh; 89 struct buffer_head *tc_last_eb_bh;