]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: refactor NSEC_PER_SEC
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 10 Nov 2020 19:52:31 +0000 (14:52 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 10 Nov 2020 19:52:31 +0000 (14:52 -0500)
commitc0e580154e1469f1bcef132b1a7585409f66e1e5
treee5a62fbd3f704445e1189be02708ac857119cde6
parentec24f6fa05f695af02b4e0fca5bc27cb1cab49b7
libxfs: refactor NSEC_PER_SEC

Clean up all the open-coded and duplicate definitions of time unit
conversion factors.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/platform_defs.h.in
repair/dinode.c
scrub/common.c
scrub/progress.c