hfsplus_get_perms
res = hfsplus_get_perms(inode, &folder->permissions, 1);
res = hfsplus_get_perms(inode, &file->permissions, 0);