diff options
Diffstat (limited to 'fs/ocfs2/alloc.h')
-rw-r--r-- | fs/ocfs2/alloc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h index cd4e12d2b6b9..23c695ddaa52 100644 --- a/fs/ocfs2/alloc.h +++ b/fs/ocfs2/alloc.h | |||
@@ -32,6 +32,11 @@ enum ocfs2_extent_tree_type { | |||
32 | OCFS2_XATTR_TREE_EXTENT, | 32 | OCFS2_XATTR_TREE_EXTENT, |
33 | }; | 33 | }; |
34 | 34 | ||
35 | /* | ||
36 | * For xattr tree leaf, we limit the leaf byte size to be 64K. | ||
37 | */ | ||
38 | #define OCFS2_MAX_XATTR_TREE_LEAF_SIZE 65536 | ||
39 | |||
35 | struct ocfs2_alloc_context; | 40 | struct ocfs2_alloc_context; |
36 | int ocfs2_dinode_insert_extent(struct ocfs2_super *osb, | 41 | int ocfs2_dinode_insert_extent(struct ocfs2_super *osb, |
37 | handle_t *handle, | 42 | handle_t *handle, |