[PATCH 2/4] xfs/122: add legacy timestamps to ondisk checker

Darrick J. Wong
2020-10-27T19:04:13Z

From: Darrick J. Wong <darrick.wong@oracle.com>

Add these new ondisk structures.

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

diff --git a/tests/xfs/122 b/tests/xfs/122
index a4248031..db21f2d5 100755
--- a/tests/xfs/122
+++ b/tests/xfs/122
@@ -182,6 +182,7 @@ struct xfs_iext_cursor
struct xfs_ino_geometry
struct xfs_attrlist
struct xfs_attrlist_ent
+struct xfs_legacy_ictimestamp
EOF

echo 'int main(int argc, char *argv[]) {' >>$cprog
diff --git a/tests/xfs/122.out b/tests/xfs/122.out
index b0773756..f229465a 100644
--- a/tests/xfs/122.out
+++ b/tests/xfs/122.out
@@ -97,6 +97,7 @@ sizeof(struct xfs_inode_log_format) = 56
sizeof(struct xfs_inode_log_format_32) = 52
sizeof(struct xfs_inumbers) = 24
sizeof(struct xfs_inumbers_req) = 64
+sizeof(struct xfs_legacy_timestamp) = 8
sizeof(struct xfs_log_dinode) = 176
sizeof(struct xfs_map_extent) = 32
sizeof(struct xfs_phys_extent) = 16