]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clean up fsck_ffs error message output.
authorKirk McKusick <mckusick@FreeBSD.org>
Tue, 27 Apr 2021 01:42:48 +0000 (18:42 -0700)
committerKirk McKusick <mckusick@FreeBSD.org>
Tue, 27 Apr 2021 01:43:51 +0000 (18:43 -0700)
commit689724cb23c2acf58091c80f27de4823d7cd87ca
tree1fe6d25c74def2668d27cdd40876a1b108b81c64
parentf5ff282bc025f0395afcef40f5b6e778202c4181
Clean up fsck_ffs error message output.

When fsck_ffs is creating a lost+found directory it must allocate
an inode and a filesystem block. If it encounters a cylinder group
with a bad check hash, it complains twice: once for the inode and
again for the filesystem block.

This change suppresses the second complaint.

Reported by:  Chuck Silvers
Tested by:    Chuck Silvers
MFC after:    1 week
Sponsored by: Netflix
sbin/fsck_ffs/fsutil.c