]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fsck_ffs: Adopt some type safety for the journalling checks.
authorpfg <pfg@FreeBSD.org>
Sun, 24 Apr 2016 20:31:22 +0000 (20:31 +0000)
committerpfg <pfg@FreeBSD.org>
Sun, 24 Apr 2016 20:31:22 +0000 (20:31 +0000)
commited7de6d63519f7b5ccbf8b1ca7af60fab9830ef6
treebacdfdec0298bec3b26086759a3633220db51adc
parentec646174295950bf0120b9c60ecb0b0382cd0ab6
fsck_ffs: Adopt some type safety for the journalling checks.

fs_ncg is of type uint32, and we were indexing it with an int.
Fixed this using an unsigned type and adopt some other unsigned
indexes to remind us when we are dealing with unsigned numbers.

Reviewed by: mckusick
MFC after: 5 days
sbin/fsck_ffs/suj.c