|
@@ -1995,6 +1995,7 @@ xfs_iunlink(
|
|
|
agi->agi_unlinked[bucket_index] = cpu_to_be32(agino);
|
|
|
offset = offsetof(xfs_agi_t, agi_unlinked) +
|
|
|
(sizeof(xfs_agino_t) * bucket_index);
|
|
|
+ xfs_trans_buf_set_type(tp, agibp, XFS_BLFT_AGI_BUF);
|
|
|
xfs_trans_log_buf(tp, agibp, offset,
|
|
|
(offset + sizeof(xfs_agino_t) - 1));
|
|
|
return 0;
|
|
@@ -2086,6 +2087,7 @@ xfs_iunlink_remove(
|
|
|
agi->agi_unlinked[bucket_index] = cpu_to_be32(next_agino);
|
|
|
offset = offsetof(xfs_agi_t, agi_unlinked) +
|
|
|
(sizeof(xfs_agino_t) * bucket_index);
|
|
|
+ xfs_trans_buf_set_type(tp, agibp, XFS_BLFT_AGI_BUF);
|
|
|
xfs_trans_log_buf(tp, agibp, offset,
|
|
|
(offset + sizeof(xfs_agino_t) - 1));
|
|
|
} else {
|