]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_quota: state command should report ugp grace times
authorBill O'Donnell <billodo@redhat.com>
Mon, 24 Aug 2020 17:23:43 +0000 (13:23 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 24 Aug 2020 17:23:43 +0000 (13:23 -0400)
commitd8a9454608ff97e98fb7de0da28f8d40804d2296
tree5a29fbbc82fbc145bd7e54e8da5bfe364b941cde
parent387a96e12a937c1b2ee29a0f2c52245d6a283078
xfs_quota: state command should report ugp grace times

Since grace periods are now supported for three quota types (ugp),
modify xfs_quota state command to report times for all three.
Add a helper function for stat reporting.

Signed-off-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
quota/state.c