[Ocfs2-tools-devel] [PATCH 2/3] ocfs2-tools: Add extended attribute support in libocfs2

Tiger Yang tiger.yang at oracle.com
Wed Sep 3 19:54:03 PDT 2008



Tao Ma wrote:
>>  int ocfs2_find_leaf(ocfs2_filesys *fs, struct ocfs2_dinode *di,
>> +            struct ocfs2_extent_list *el,
>>              uint32_t cpos, char **leaf_buf)
> I think we don't need to pass "di" into this function any more.
Without di, how can we get 'path' ?
As I got path = ocfs2_new_path(fs, (char *)di, el);

>> +        ocfs2_swap_xattr_tree_root(&xb->xb_attrs.xb_root);
> here you miss ocfs2_swap_extent_list_from_cpu I guess.
yes, I missed it.

Thanks,
tiger



More information about the Ocfs2-tools-devel mailing list