@@ -124,6 +124,7 @@
#define xfs_initialize_perag libxfs_initialize_perag
#define xfs_initialize_perag_data libxfs_initialize_perag_data
#define xfs_init_local_fork libxfs_init_local_fork
+#define xfs_init_parent_name_rec libxfs_init_parent_name_rec
#define xfs_inobt_maxrecs libxfs_inobt_maxrecs
#define xfs_inobt_stage_cursor libxfs_inobt_stage_cursor
@@ -613,8 +613,8 @@ parseproto(
.value = (void *)xname.name,
.valuelen = xname.len,
};
- xfs_init_parent_name_rec(&rec, pip, offset);
- error = xfs_attr_set(&args);
+ libxfs_init_parent_name_rec(&rec, pip, offset);
+ error = -libxfs_attr_set(&args);
if (error)
fail(_("Error creating parent pointer"), error);
}