]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: widen ondisk quota expiration timestamps to handle y2038+
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Nov 2020 21:49:42 +0000 (16:49 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 12 Nov 2020 21:49:42 +0000 (16:49 -0500)
commit06963ef0d4ff9a6736f699d1ca8ef5a0c194799b
tree48b59267bbbfeff1e7eaf064bb1299608a934d02
parente7e3beb95efd751f227a0ced4c83fc5b88582e2e
xfs: widen ondisk quota expiration timestamps to handle y2038+

Source kernel commit: 4ea1ff3b49681af45a4a8c14baf7f0b3d11aa74a

Enable the bigtime feature for quota timers.  We decrease the accuracy
of the timers to ~4s in exchange for being able to set timers up to the
bigtime maximum.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/xfs_mount.h
libxfs/xfs_dquot_buf.c
libxfs/xfs_format.h
libxfs/xfs_quota_defs.h