[Ocfs2-tools-devel] [PATCH 1/5] ocfs2-tools: add xattr definition in ocfs2_fs.h

Tao Ma tao.ma at oracle.com
Fri Oct 24 07:06:30 PDT 2008


Hi Coly,

Coly Li wrote:
> 
> Tiger Yang Wrote:
>> This patch add xattr definitions in ocfs2_fs.h,
>> which is copy from mainline head file.
>>
>> Signed-off-by: Tiger Yang <tiger.yang at oracle.com>
>> +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
>> +				    local xattr storage(inode, xattr block or
> "local local xattr" to "local xattr" ?
> 
>> +				    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
> "1 bits indicate" to "1 bit indicates" ?
> 
>> +				  * the EA is stored in the local storage. */
>> +	__le64	xe_value_size;	 /* real xattr value length. */
>> +};
>> +
This is really my fault. I wrote this in kernel and tiger just copy them 
out to the userspace. Thanks for pointing them out. I will generate a 
patch for this.

Regards,
Tao



More information about the Ocfs2-tools-devel mailing list