• Kirk McKusick's avatar
    Avoid unnecessary setting of UFS flag requesting fsck(8) be run. · 7ef56fb0
    Kirk McKusick authored
    When the kernel is requested to mount a filesystem with a bad superblock
    check hash, it would set the flag in the superblock requesting that the
    fsck(8) program be run. The flag is only written to disk as part of a
    superblock update. Since the superblock always has its check hash updated
    when it is written to disk, the problem for which the flag has been set
    will no longer exist. Hence, it is counter-productive to set the flag
    as it will just cause an unnecessary run of fsck if it ever gets written.
    Sponsored by: Netflix