diff options
Diffstat (limited to 'fs/ocfs2/alloc.h')
-rw-r--r-- | fs/ocfs2/alloc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h index 70257c84cfbe..c301cf225f0b 100644 --- a/fs/ocfs2/alloc.h +++ b/fs/ocfs2/alloc.h | |||
@@ -167,11 +167,15 @@ int __ocfs2_flush_truncate_log(struct ocfs2_super *osb); | |||
167 | */ | 167 | */ |
168 | struct ocfs2_cached_dealloc_ctxt { | 168 | struct ocfs2_cached_dealloc_ctxt { |
169 | struct ocfs2_per_slot_free_list *c_first_suballocator; | 169 | struct ocfs2_per_slot_free_list *c_first_suballocator; |
170 | struct ocfs2_cached_block_free *c_global_allocator; | ||
170 | }; | 171 | }; |
171 | static inline void ocfs2_init_dealloc_ctxt(struct ocfs2_cached_dealloc_ctxt *c) | 172 | static inline void ocfs2_init_dealloc_ctxt(struct ocfs2_cached_dealloc_ctxt *c) |
172 | { | 173 | { |
173 | c->c_first_suballocator = NULL; | 174 | c->c_first_suballocator = NULL; |
175 | c->c_global_allocator = NULL; | ||
174 | } | 176 | } |
177 | int ocfs2_cache_cluster_dealloc(struct ocfs2_cached_dealloc_ctxt *ctxt, | ||
178 | u64 blkno, unsigned int bit); | ||
175 | int ocfs2_run_deallocs(struct ocfs2_super *osb, | 179 | int ocfs2_run_deallocs(struct ocfs2_super *osb, |
176 | struct ocfs2_cached_dealloc_ctxt *ctxt); | 180 | struct ocfs2_cached_dealloc_ctxt *ctxt); |
177 | 181 | ||