]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fsck: use monotonic time to fsck run time measurement
authorSami Kerola <kerolasa@iki.fi>
Tue, 3 Feb 2015 18:51:03 +0000 (18:51 +0000)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Feb 2015 10:18:51 +0000 (11:18 +0100)
commitc9e24d604a6267b3177a3baa5357f13683eda357
tree13a2a0f7a6090994a21b15b5831c39b6af5d5dfe
parentd45984bef60e54f3aabda003926ba150012de92d
fsck: use monotonic time to fsck run time measurement

Earlier use of gettimeofday() resulted to wrong measurement if system
administrator did manual time changes, or NTP or adjtime(3) adjusment
happen during fsck run.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
disk-utils/Makemodule.am
disk-utils/fsck.c