]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: refactor quota expiration timer modification
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 10 Nov 2020 20:11:09 +0000 (15:11 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 10 Nov 2020 20:11:09 +0000 (15:11 -0500)
commit94c5482a7e0cbb6fd289745a4b5f49a133a4f5e8
tree578aea6695a7330dc3c8587bc8385976a8d8f7e8
parent18e3b8c234fac67c6c96e9ff34f0ab4598220fa1
xfs: refactor quota expiration timer modification

Source kernel commit: 11d8a9190275855f79d62093d789e962cc7228fb

Define explicit limits on the range of quota grace period expiration
timeouts and refactor the code that modifies the timeouts into helpers
that clamp the values appropriately.  Note that we'll refactor the
default grace period timer separately.

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>
libxfs/xfs_format.h