diff mbox series

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

Message ID 160382544732.1203848.9001133589345314135.stgit@magnolia (mailing list archive)
State New, archived
Headers show
Series xfstests: widen timestamps to deal with y2038+ | expand

Commit Message

Darrick J. Wong Oct. 27, 2020, 7:04 p.m. UTC
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(+)

Comments

Amir Goldstein Oct. 29, 2020, 11:28 a.m. UTC | #1
On Wed, Oct 28, 2020 at 10:25 PM Darrick J. Wong
<darrick.wong@oracle.com> wrote:
>
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> Add these new ondisk structures.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Reviewed-by: Amir Goldstein <amir73il@gmail.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

<OCD move near xfs_ictimestamp_t similar to other adjacent struct and
typedefs />

Thanks,
Amir.
Darrick J. Wong Oct. 29, 2020, 6:28 p.m. UTC | #2
On Thu, Oct 29, 2020 at 01:28:07PM +0200, Amir Goldstein wrote:
> On Wed, Oct 28, 2020 at 10:25 PM Darrick J. Wong
> <darrick.wong@oracle.com> wrote:
> >
> > From: Darrick J. Wong <darrick.wong@oracle.com>
> >
> > Add these new ondisk structures.
> >
> > Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
> 
> Reviewed-by: Amir Goldstein <amir73il@gmail.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
> 
> <OCD move near xfs_ictimestamp_t similar to other adjacent struct and
> typedefs />

Ok will do.

--D

> 
> Thanks,
> Amir.
diff mbox series

Patch

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