[5/5] xfs/122: fix for linux 5.7 stuff
diff mbox series

Message ID 158768470283.3019327.12107082366634108750.stgit@magnolia
State Accepted
Headers show
Series
  • fstests: random fixes
Related show

Commit Message

Darrick J. Wong April 23, 2020, 11:31 p.m. UTC
From: Darrick J. Wong <darrick.wong@oracle.com>

Fix some regressions on xfsprogs 5.7.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
 tests/xfs/122     |    2 ++
 tests/xfs/122.out |    1 +
 2 files changed, 3 insertions(+)

Comments

Christoph Hellwig April 24, 2020, 6:23 a.m. UTC | #1
On Thu, Apr 23, 2020 at 04:31:42PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
> 
> Fix some regressions on xfsprogs 5.7.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Looks good.  I actually had the same changes locally but forgot to send
them out:

Reviewed-by: Christoph Hellwig <hch@lst.de>

Patch
diff mbox series

diff --git a/tests/xfs/122 b/tests/xfs/122
index 64b63cb1..dbf3a22b 100755
--- a/tests/xfs/122
+++ b/tests/xfs/122
@@ -181,6 +181,8 @@  xfs_fsop_getparents_handlereq_t
 xfs_dinode_core_t
 struct xfs_iext_cursor
 struct xfs_ino_geometry
+struct xfs_attrlist
+struct xfs_attrlist_ent
 EOF
 
 echo 'int main(int argc, char *argv[]) {' >>$cprog
diff --git a/tests/xfs/122.out b/tests/xfs/122.out
index 91a3bdae..45c42e59 100644
--- a/tests/xfs/122.out
+++ b/tests/xfs/122.out
@@ -58,6 +58,7 @@  offsetof(xfs_sb_t, sb_width) = 188
 sizeof(struct xfs_acl) = 4
 sizeof(struct xfs_acl_entry) = 12
 sizeof(struct xfs_ag_geometry) = 128
+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