freebsd-nq/sbin/fsck_ffs
Kirk McKusick 2d34afcd04 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
2020-10-25 21:04:07 +00:00
..
dir.c This revision began as a simple change to eliminate an uninitialized warning 2019-05-21 22:24:38 +00:00
ea.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fsck_ffs.8 Correct the location of the first backup superblock in fsck_ffs.8. 2019-08-07 16:56:00 +00:00
fsck.h fsck_ffs/fsdb: fix -fno-common build 2020-03-29 20:03:46 +00:00
fsutil.c Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
gjournal.c Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
globs.c fsck_ffs/fsdb: fix -fno-common build 2020-03-29 20:03:46 +00:00
inode.c Followup to -r344552 in which fsck_ffs checks for a size past the 2019-04-13 13:31:06 +00:00
main.c Move all of the error prints in readsb() from stderr to stdout. 2020-09-01 18:50:26 +00:00
Makefile sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:33:01 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pass1.c Treat any inode with bad content as unknown (i.e., ask if it should 2019-07-20 21:39:32 +00:00
pass1b.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pass2.c In preparation for adding inode check-hashes, change the fsck_ffs 2018-10-31 05:17:53 +00:00
pass3.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pass4.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pass5.c Use proper type (ino_t) for inode numbers to avoid improper sign extention 2020-10-25 21:04:07 +00:00
setup.c Various new check-hash checks have been added to the UFS filesystem 2020-10-25 00:43:48 +00:00
suj.c Update the libufs cgget() and cgput() interfaces to have a similar 2020-09-19 22:48:30 +00:00
utilities.c Remove unused includes. 2019-12-22 05:44:29 +00:00