From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Examine all remote xattr values of a file, not just the XFS_ATTR_ROOT values. This enables us to detect and zap corrupt user xattrs, as tested by xfs/404. Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> --- repair/attr_repair.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/repair/attr_repair.c b/repair/attr_repair.c index 8b1b8a7..bb5ab3d 100644 --- a/repair/attr_repair.c +++ b/repair/attr_repair.c @@ -537,9 +537,6 @@ process_leaf_attr_remote( return -1; } - if (!(entry->flags & XFS_ATTR_ROOT)) - goto out; - value = malloc(be32_to_cpu(remotep->valuelen)); if (value == NULL) { do_warn( -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html