]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test repairing false positive reserved attr name use
authorEric Sandeen <sandeen@sandeen.net>
Tue, 26 May 2015 02:51:57 +0000 (12:51 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 26 May 2015 02:51:57 +0000 (12:51 +1000)
commitfa4fcb52945fcc2ef3777b2518cd6f478f37e03e
tree43925bf168eba6697f2b8893689d21934333807f
parent51a36c71b4f9b581d521981f48bcdc8f57fa0998
xfs: test repairing false positive reserved attr name use

xfs_repair compares attr names in the root namespace to
two special/reserved names, "SGI_ACL_FILE" and "SGI_ACL_DEFAULT"
and if the value in them aren't valid acls, flags this as
an inconsistency.

However, due to various bugs, xfs_repair may only compare
a smaller portion of the on-disk value; hence either
substrings or superstrings may match, and false-positive
corruption will be detected.  This test checks for those
false positives; i.e. the ACL names created in this test
may cause xfs_repair to "fix" them, but it should not.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/xfs/053 [new file with mode: 0755]
tests/xfs/053.out [new file with mode: 0644]
tests/xfs/group