ocfs2/xattr: Fix some typos in xattr annotations.
PATCH 1/1 ocfs2/xattr: Fix some typos in xattr annotations.
Hi Joel,
This patch should be simple enough to be in your xattr-28 branch.
And you are free to change them since you are the native speaker. ;)
Fix some typos in xattr's annotations. Thank Coly for pointing them out.
Signed-off-by Tao Ma <[email protected]>
Cc Coly Li <[email protected]>
--- fs/ocfs2/ocfs2_fs.h | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
fs/ocfs2/ocfs2_fs.h +5 -5
@@ -742,12 +742,12 @@ struct ocfs2_group_desc*/ struct ocfs2_xattr_entry {__le32 xe_name_hash;/* hash value of xattr prefix+suffix. */ -__le16 xe_name_offset;/* byte offset from the 1st etnry in the local +__le16 xe_name_offset;/* byte offset from the 1st entry in the local xattr storage(inode, xattr block or xattr bucket). */ __u8 xe_name_len;/* xattr name len, does't include prefix. */ -__u8 xe_type;/* the low 7 bits indicates the name prefix's -* type and the highest 1 bits indicate whether +__u8 xe_type;/* the low 7 bits indicate the name prefix's +* type and the highest 1 bit indicates whether * the EA is stored in the local storage. */ __le64 xe_value_size;/* real xattr value length. */ };
@@ -766,7 +766,7 @@ struct ocfs2_xattr_header {xattr. */ __le16 xh_name_value_len;/* total length of name/value length in this bucket. */ -__le16 xh_num_buckets;/* bucket nums in one extent +__le16 xh_num_buckets;/* buckets num in one extent record, only valid in the first bucket. */ __le64 xh_csum;
@@ -776,7 +776,7 @@ struct ocfs2_xattr_header {/* * On disk structure for xattr value root. * -* It is used when one extended attribute's size is larger, and we will save it +* It is used when one extended attribute's size is large, and we will save it * in an outside cluster. It will stored in a b-tree like file content. */ struct ocfs2_xattr_value_root {
Signature · 1 line
1.5.4.GIT
PATCH 1/1 ocfs2/xattr: Fix some typos in xattr annotations.
Quoted 2 lines · Tao Ma
Hi Joel,
This patch should be simple enough to be in your xattr-28 branch.
Added to my tree.
Joel
Signature · 7 lines
"War doesn't determine who's right; war determines who's left." Joel Becker Principal Software Developer Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127