]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: test creating and removing symlink xattrs v2024.06.27
authorDarrick J. Wong <djwong@kernel.org>
Thu, 20 Jun 2024 21:01:06 +0000 (14:01 -0700)
committerZorro Lang <zlang@kernel.org>
Sun, 23 Jun 2024 15:04:36 +0000 (23:04 +0800)
commit98611b1acce44dca91c4654fcb339b6f95c2c82a
treeddff873553b730e32e3c54a6234a07594f84938e
parent3bf963a6c609d20a2985b5e71616d9e669c7efaf
generic: test creating and removing symlink xattrs

This began as a regression test for the issues identified in "xfs: allow
symlinks with short remote targets".  To summarize, the kernel XFS code
does not convert a remote symlink back to a shortform symlink after
deleting the attr fork.  Recent attempts to tighten validation have
flagged this incorrectly, so we need a regression test to focus on this
dusty corner of the codebase.

However, there's nothing in here that's xfs-specific so it's a generic
test.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/754 [new file with mode: 0755]
tests/generic/754.out [new file with mode: 0644]