]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: refactor quota timer printing
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 20 Nov 2020 22:03:28 +0000 (17:03 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 20 Nov 2020 22:03:28 +0000 (17:03 -0500)
commita9a32fcb9176c82aed6d85f209e7279b76c8b55f
tree7484d7335c4dfb88990b921f1d4d9c08b862a8ad
parent300422226c423222e78d82d54b09d0ae27c7d4af
xfs_db: refactor quota timer printing

Introduce type-specific printing functions to xfs_db to print a quota
timer instead of printing a raw int32 value.  This is needed to stay
ahead of changes that we're going to make to the quota timer format in
the following patches.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/dquot.c
db/field.c
db/field.h
db/fprint.c
db/fprint.h