aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-02-06 18:19:30 -0800
committerZorro Lang <zlang@kernel.org>2024-02-09 13:27:17 +0800
commit386c7b6aa69ebe8017a4728a994f80d55c660de4 (patch)
treefa25ab9111461bd26029132fdd01ddbf664ed1b0
parente595ffddd23eed59e823b1bc42c0016b401090ad (diff)
downloadxfstests-dev-386c7b6aa69ebe8017a4728a994f80d55c660de4.tar.gz
xfs/122: fix for xfs_attr_shortform removal in 6.8v2024.02.09
The xfs_attr_shortform struct (with multiple flexarrays) was removed in 6.8. Check the two surviving structures (the attr sf header and entry) instead. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rw-r--r--tests/xfs/122.out2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/xfs/122.out b/tests/xfs/122.out
index 89f7b735b0..067a0ec76b 100644
--- a/tests/xfs/122.out
+++ b/tests/xfs/122.out
@@ -62,6 +62,8 @@ sizeof(struct xfs_agfl) = 36
sizeof(struct xfs_attr3_leaf_hdr) = 80
sizeof(struct xfs_attr3_leafblock) = 88
sizeof(struct xfs_attr3_rmt_hdr) = 56
+sizeof(struct xfs_attr_sf_entry) = 3
+sizeof(struct xfs_attr_sf_hdr) = 4
sizeof(struct xfs_attr_shortform) = 8
sizeof(struct xfs_attrd_log_format) = 16
sizeof(struct xfs_attri_log_format) = 40