]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83260a6fa6b483c2f2db0bbe5dc886b79a362c6f
treeae134f90be95a17de1c7b2b632041559756f05a2
parent41019da89624ed4943d1696fe5622d34c559293b
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