CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/09/05 22:05:40
Modified files:
sbin/fsck_ffs : dir.c extern.h fsck.h inode.c pass1.c pass2.c
pass5.c setup.c utilities.c
Log message:
inodesc.id_entryno holds a file size, so upgrade it from int to u_int64_t;
this fixes handling of very large files on FFS2.
Correct a copy-n-pasto that rendered useless the check for allocated
fragmented that are marked free in the bitmap.
allocdir() returns an inode number, so return an ino_t.
sizeof()*N should be printed with %zu, while direct and indirect block
numbers should be cast to (long long) use %lld
inodesc.id_entryno fix based on a diff from David Vasek <[email protected]>
ok krw@ otto@