]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/super.c
e2fsck: Fix and enhance superblock dates in future problem reports
authorTheodore Ts'o <tytso@mit.edu>
Sat, 8 Aug 2009 14:14:48 +0000 (10:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 8 Aug 2009 14:14:48 +0000 (10:14 -0400)
commitfe26a55ac923f4cce17c27ef51de84d2e3b6eebb
tree4a211e21c187f2fecdb99d7d9c081591683cc6a1
parentbf3941aac389f1de6ce2008f818b6350d1fdd764
e2fsck: Fix and enhance superblock dates in future problem reports

Fixed a bug where e2fsck would report that last mount time was in the
future when it was really the last write time that was in the future.

Also, since people can't seem to believe that (a) their distribution
has buggy init scripts, or (b) their CMOS/RTC clock or backup battery
is dead, print the incorrect time and the current system time.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/message.c
e2fsck/problem.c
e2fsck/super.c