i am trying to construct a file from inode metadata.
i have inode->i_file_acl to find where it stores file acl for that file but i am not able to restore file acl from that information.

i have inode information of file A and i want to make file B out of it.
i am able to get inode->i_file_acl for file A which tells me where ext3 is storing ACL for file A.
i am reading that block contens into char*.
i tried using acl_copy_int and acl_set_file to restore file acl to file B but no luck.