]> git.baikalelectronics.ru Git - kernel.git/commit
quota: widen timestamps for the fs_disk_quota structure
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 9 Sep 2020 16:34:13 +0000 (09:34 -0700)
committerJan Kara <jack@suse.cz>
Thu, 10 Sep 2020 07:09:51 +0000 (09:09 +0200)
commit16e59af5ccfda94a934330b4aaf006b18d874364
tree2d1d508b30e65727278b31007f6ec5844a487776
parent0331bb084834d873663176a89592fa31e6b6659e
quota: widen timestamps for the fs_disk_quota structure

Soon, XFS will support quota grace period expiration timestamps beyond
the year 2038, widen the timestamp fields to handle the extra time bits.
Internally, XFS now stores unsigned 34-bit quantities, so the extra 8
bits here should work fine.  (Note that XFS is the only user of this
structure.)

Link: https://lore.kernel.org/r/20200909163413.GJ7955@magnolia
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota.c
include/uapi/linux/dqblk_xfs.h