]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: create a real struct timespec64
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 10 Nov 2020 17:05:32 +0000 (12:05 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 10 Nov 2020 17:05:32 +0000 (12:05 -0500)
commitec24f6fa05f695af02b4e0fca5bc27cb1cab49b7
tree4ca6e42f203b2378ea2cfe9dbe713b3b9968d21f
parent75379bd4b2c5a5924fd6ca203bbaaf41dc6c71cd
libxfs: create a real struct timespec64

Create a real struct timespec64 that supports 64-bit seconds counts.
The C library struct timespec doesn't support this on 32-bit
architectures and we cannot lose the upper bits in the incore inode.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/libxfs.h
include/xfs_fs_compat.h
include/xfs_inode.h
libxfs/libxfs_priv.h