HomeFreeBSD

Use proper type (ino_t) for inode numbers to avoid improper sign extention

Description

Use proper type (ino_t) for inode numbers to avoid improper sign extention
in the Pass 5 checks. The manifestation was fsck_ffs exiting with this error:

  • Phase 5 - Check Cyl groups fsck_ffs: inoinfo: inumber 18446744071562087424 out of range

The error only manifests itself for filesystems bigger than about 100Tb.

Reported by: Nikita Grechikhin <ngrechikhin at yandex.ru>
MFC after: 2 weeks
Sponsored by: Netflix

Details

Provenance
mckusickAuthored on
Parents
rS367044: Introduce support of SCSI Command Priority.
Branches
Unknown
Tags
Unknown