Whamcloud - gitweb
findsuper: improve output if s_mkfs_time unset
authorAndreas Dilger <adilger@dilger.ca>
Sun, 6 Mar 2016 23:16:04 +0000 (18:16 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 6 Mar 2016 23:16:04 +0000 (18:16 -0500)
commitba60bb903f1e7e5fc29922bd851737fa26e0a5ae
tree91400fbfd8b6bb65fcb26b7ce4c328772d2fcfe1
parent1e3f5c889d3f86f88dca94cd93dcfbe9aa37d641
findsuper: improve output if s_mkfs_time unset

If s_mkfs_time is not set in the superblock, print the s_mtime field
instead to identify the different superblocks.  This can happen if the
superblock is corrupted, since s_mkfs_time is not reset by e2fsck.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/findsuper.c