aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/alloc.h')
-rw-r--r--fs/ocfs2/alloc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h
index cd4e12d2b6b..23c695ddaa5 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
35struct ocfs2_alloc_context; 40struct ocfs2_alloc_context;
36int ocfs2_dinode_insert_extent(struct ocfs2_super *osb, 41int ocfs2_dinode_insert_extent(struct ocfs2_super *osb,
37 handle_t *handle, 42 handle_t *handle,