xfstests: Test xfs_fsr / swapext management of di_forkoff w/ selinux
authorEric Sandeen <sandeen@sandeen.net>
Fri, 18 Oct 2013 16:23:14 +0000 (16:23 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 22 Oct 2013 20:43:45 +0000 (15:43 -0500)
commit5d88b638ff4ad68f5ecce96d5d4d3a85fc4a2a5c
tree3052e41ec7f937541fbccd0f680a649b4e642513
parent56a3959a96f1b5e046b3760778fd34b4911d0516
xfstests: Test xfs_fsr / swapext management of di_forkoff w/ selinux

In some cases selinux's creation of an xattr on the temporary
fd creates a local xattr, but the file we are trying to
defragment has attrs in extent format, and the forkoff mismatch
will cause xfs_fsr to fail.  This test demonstrates it;  I
have old patches sent to the list long ago that should fix
it.  I'll resend them soon.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/xfs/300 [new file with mode: 0755]
tests/xfs/300.out [new file with mode: 0644]
tests/xfs/group