xfs: widen ondisk quota expiration timestamps to handle y2038+
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 17 Aug 2020 16:59:51 +0000 (09:59 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:41 +0000 (20:52 -0700)
commit4ea1ff3b49681af45a4a8c14baf7f0b3d11aa74a
treeae134f90be95a17de1c7b2b632041559756f05a2
parentf93e5436f0ee5a85eaa3a86d2614d215873fb18b
xfs: widen ondisk quota expiration timestamps to handle y2038+

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>
fs/xfs/libxfs/xfs_dquot_buf.c
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_quota_defs.h
fs/xfs/xfs_dquot.c
fs/xfs/xfs_ondisk.h
fs/xfs/xfs_qm.c
fs/xfs/xfs_trans_dquot.c