diff options
Diffstat (limited to 'fs/ocfs2/alloc.h')
-rw-r--r-- | fs/ocfs2/alloc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h index ec7baeb2ea7d..cd4e12d2b6b9 100644 --- a/fs/ocfs2/alloc.h +++ b/fs/ocfs2/alloc.h | |||
@@ -29,6 +29,7 @@ | |||
29 | enum ocfs2_extent_tree_type { | 29 | enum ocfs2_extent_tree_type { |
30 | OCFS2_DINODE_EXTENT = 0, | 30 | OCFS2_DINODE_EXTENT = 0, |
31 | OCFS2_XATTR_VALUE_EXTENT, | 31 | OCFS2_XATTR_VALUE_EXTENT, |
32 | OCFS2_XATTR_TREE_EXTENT, | ||
32 | }; | 33 | }; |
33 | 34 | ||
34 | struct ocfs2_alloc_context; | 35 | struct ocfs2_alloc_context; |
@@ -51,6 +52,15 @@ int ocfs2_xattr_value_insert_extent(struct ocfs2_super *osb, | |||
51 | u8 flags, | 52 | u8 flags, |
52 | struct ocfs2_alloc_context *meta_ac, | 53 | struct ocfs2_alloc_context *meta_ac, |
53 | void *private); | 54 | void *private); |
55 | int ocfs2_xattr_tree_insert_extent(struct ocfs2_super *osb, | ||
56 | handle_t *handle, | ||
57 | struct inode *inode, | ||
58 | struct buffer_head *root_bh, | ||
59 | u32 cpos, | ||
60 | u64 start_blk, | ||
61 | u32 new_clusters, | ||
62 | u8 flags, | ||
63 | struct ocfs2_alloc_context *meta_ac); | ||
54 | enum ocfs2_alloc_restarted { | 64 | enum ocfs2_alloc_restarted { |
55 | RESTART_NONE = 0, | 65 | RESTART_NONE = 0, |
56 | RESTART_TRANS, | 66 | RESTART_TRANS, |