diff options
author | Tao Ma <tao.ma@oracle.com> | 2008-10-24 10:24:17 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-11-10 12:51:46 -0500 |
commit | 8573f79d30077875e2b6e83849b5245bfbb08685 (patch) | |
tree | 5828d5e07c4cf742574bc3f62b04057f9e910d28 /fs | |
parent | 63fd77573723841d5d44a79471258f1b261f4482 (diff) |
ocfs2: Fix some typos in xattr annotations.
Fix some typos in the xattr annotations.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Reported-by: Coly Li <coyli@suse.de>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/ocfs2_fs.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h index f24ce3d3f956..5f180cf7abbd 100644 --- a/fs/ocfs2/ocfs2_fs.h +++ b/fs/ocfs2/ocfs2_fs.h | |||
@@ -742,12 +742,12 @@ struct ocfs2_group_desc | |||
742 | */ | 742 | */ |
743 | struct ocfs2_xattr_entry { | 743 | struct ocfs2_xattr_entry { |
744 | __le32 xe_name_hash; /* hash value of xattr prefix+suffix. */ | 744 | __le32 xe_name_hash; /* hash value of xattr prefix+suffix. */ |
745 | __le16 xe_name_offset; /* byte offset from the 1st etnry in the local | 745 | __le16 xe_name_offset; /* byte offset from the 1st entry in the |
746 | local xattr storage(inode, xattr block or | 746 | local xattr storage(inode, xattr block or |
747 | xattr bucket). */ | 747 | xattr bucket). */ |
748 | __u8 xe_name_len; /* xattr name len, does't include prefix. */ | 748 | __u8 xe_name_len; /* xattr name len, does't include prefix. */ |
749 | __u8 xe_type; /* the low 7 bits indicates the name prefix's | 749 | __u8 xe_type; /* the low 7 bits indicate the name prefix |
750 | * type and the highest 1 bits indicate whether | 750 | * type and the highest bit indicates whether |
751 | * the EA is stored in the local storage. */ | 751 | * the EA is stored in the local storage. */ |
752 | __le64 xe_value_size; /* real xattr value length. */ | 752 | __le64 xe_value_size; /* real xattr value length. */ |
753 | }; | 753 | }; |
@@ -766,9 +766,10 @@ struct ocfs2_xattr_header { | |||
766 | xattr. */ | 766 | xattr. */ |
767 | __le16 xh_name_value_len; /* total length of name/value | 767 | __le16 xh_name_value_len; /* total length of name/value |
768 | length in this bucket. */ | 768 | length in this bucket. */ |
769 | __le16 xh_num_buckets; /* bucket nums in one extent | 769 | __le16 xh_num_buckets; /* Number of xattr buckets |
770 | record, only valid in the | 770 | in this extent record, |
771 | first bucket. */ | 771 | only valid in the first |
772 | bucket. */ | ||
772 | __le64 xh_csum; | 773 | __le64 xh_csum; |
773 | struct ocfs2_xattr_entry xh_entries[0]; /* xattr entry list. */ | 774 | struct ocfs2_xattr_entry xh_entries[0]; /* xattr entry list. */ |
774 | }; | 775 | }; |
@@ -776,8 +777,8 @@ struct ocfs2_xattr_header { | |||
776 | /* | 777 | /* |
777 | * On disk structure for xattr value root. | 778 | * On disk structure for xattr value root. |
778 | * | 779 | * |
779 | * It is used when one extended attribute's size is larger, and we will save it | 780 | * When an xattr's value is large enough, it is stored in an external |
780 | * in an outside cluster. It will stored in a b-tree like file content. | 781 | * b-tree like file data. The xattr value root points to this structure. |
781 | */ | 782 | */ |
782 | struct ocfs2_xattr_value_root { | 783 | struct ocfs2_xattr_value_root { |
783 | /*00*/ __le32 xr_clusters; /* clusters covered by xattr value. */ | 784 | /*00*/ __le32 xr_clusters; /* clusters covered by xattr value. */ |