aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/ocfs2_fs.h')
-rw-r--r--fs/ocfs2/ocfs2_fs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h
index 1d1c54ea5bc..d549b1799a6 100644
--- a/fs/ocfs2/ocfs2_fs.h
+++ b/fs/ocfs2/ocfs2_fs.h
@@ -416,6 +416,7 @@ static struct ocfs2_system_inode_info ocfs2_system_inodes[NUM_SYSTEM_INODES] = {
416#define OCFS2_DIR_REC_LEN(name_len) (((name_len) + OCFS2_DIR_MEMBER_LEN + \ 416#define OCFS2_DIR_REC_LEN(name_len) (((name_len) + OCFS2_DIR_MEMBER_LEN + \
417 OCFS2_DIR_ROUND) & \ 417 OCFS2_DIR_ROUND) & \
418 ~OCFS2_DIR_ROUND) 418 ~OCFS2_DIR_ROUND)
419#define OCFS2_DIR_MIN_REC_LEN OCFS2_DIR_REC_LEN(1)
419 420
420#define OCFS2_LINK_MAX 32000 421#define OCFS2_LINK_MAX 32000
421 422
@@ -842,7 +843,9 @@ struct ocfs2_dx_root_block {
842 __le16 dr_reserved1; 843 __le16 dr_reserved1;
843 __le64 dr_dir_blkno; /* Pointer to parent inode */ 844 __le64 dr_dir_blkno; /* Pointer to parent inode */
844 __le64 dr_reserved2; 845 __le64 dr_reserved2;
845 __le64 dr_reserved3[16]; 846 __le64 dr_free_blk; /* Pointer to head of free
847 * unindexed block list. */
848 __le64 dr_reserved3[15];
846 union { 849 union {
847 struct ocfs2_extent_list dr_list; /* Keep this aligned to 128 850 struct ocfs2_extent_list dr_list; /* Keep this aligned to 128
848 * bits for maximum space 851 * bits for maximum space