diff options
Diffstat (limited to 'fs/ocfs2/ocfs2_fs.h')
-rw-r--r-- | fs/ocfs2/ocfs2_fs.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h index 1055ba0af9bb..98e1f8bba0e1 100644 --- a/fs/ocfs2/ocfs2_fs.h +++ b/fs/ocfs2/ocfs2_fs.h | |||
@@ -570,7 +570,7 @@ struct ocfs2_super_block { | |||
570 | /*40*/ __le16 s_max_slots; /* Max number of simultaneous mounts | 570 | /*40*/ __le16 s_max_slots; /* Max number of simultaneous mounts |
571 | before tunefs required */ | 571 | before tunefs required */ |
572 | __le16 s_tunefs_flag; | 572 | __le16 s_tunefs_flag; |
573 | __le32 s_reserved1; | 573 | __le32 s_uuid_hash; /* hash value of uuid */ |
574 | __le64 s_first_cluster_group; /* Block offset of 1st cluster | 574 | __le64 s_first_cluster_group; /* Block offset of 1st cluster |
575 | * group header */ | 575 | * group header */ |
576 | /*50*/ __u8 s_label[OCFS2_MAX_VOL_LABEL_LEN]; /* Label for mounting, etc. */ | 576 | /*50*/ __u8 s_label[OCFS2_MAX_VOL_LABEL_LEN]; /* Label for mounting, etc. */ |
@@ -787,7 +787,11 @@ struct ocfs2_xattr_tree_root { | |||
787 | /*10*/ struct ocfs2_extent_list xt_list; /* Extent record list */ | 787 | /*10*/ struct ocfs2_extent_list xt_list; /* Extent record list */ |
788 | }; | 788 | }; |
789 | 789 | ||
790 | #define OCFS2_XATTR_INDEXED 0x1 | 790 | #define OCFS2_XATTR_INDEXED 0x1 |
791 | #define OCFS2_HASH_SHIFT 5 | ||
792 | #define OCFS2_XATTR_ROUND 3 | ||
793 | #define OCFS2_XATTR_SIZE(size) (((size) + OCFS2_XATTR_ROUND) & \ | ||
794 | ~(OCFS2_XATTR_ROUND)) | ||
791 | 795 | ||
792 | /* | 796 | /* |
793 | * On disk structure for xattr block. | 797 | * On disk structure for xattr block. |