]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: refactor default quota grace period setting code
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 10 Nov 2020 20:11:43 +0000 (15:11 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 10 Nov 2020 20:11:43 +0000 (15:11 -0500)
commitabc0f20536e3bc1505f575f452c55585c34f6e06
tree0a6d77e5c3e1a43eb446cd6dd5c8b2feff3d27c2
parent94c5482a7e0cbb6fd289745a4b5f49a133a4f5e8
xfs: refactor default quota grace period setting code

Source kernel commit: ccc8e771aa7a80eb047fc263780816ca76dd02a6

Refactor the code that sets the default quota grace period into a helper
function so that we can override the ondisk behavior later.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.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