@@ -769,6 +769,7 @@ xlog_recover_attri_commit_pass2(
switch (op) {
case XFS_ATTRI_OP_FLAGS_SET:
case XFS_ATTRI_OP_FLAGS_REPLACE:
+ /* Log item, attr name, attr value */
if (item->ri_total != 3) {
XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp,
attri_formatp, len);
@@ -776,6 +777,7 @@ xlog_recover_attri_commit_pass2(
}
break;
case XFS_ATTRI_OP_FLAGS_REMOVE:
+ /* Log item, attr name */
if (item->ri_total != 2) {
XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp,
attri_formatp, len);
@@ -783,6 +785,7 @@ xlog_recover_attri_commit_pass2(
}
break;
case XFS_ATTRI_OP_FLAGS_NVREPLACE:
+ /* Log item, attr name, new attr name, attr value */
if (item->ri_total != 4) {
XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp,
attri_formatp, len);