NetBSD/sbin/fsck_lfs
dholland da32f22c2a Use the lfs dinode accessors in place of the ufs-derived ones.
(Mostly.)

The ufs-derived ones are fake structure member macros, which are gross
and not very safe. Also, it seems that a lot of places in the lfs code
were using the ffsv1 branch of them unconditionally, and this way it's
guaranteed all those places have been updated.

Found while doing this: for non-devices, have getattr produce NODEV
in the rdev field instead of leaking the address of the first direct
block.
2015-09-01 06:08:37 +00:00
..
bufcache.c - Fix fallout for recent bread() change (removing cred arg). 2015-03-29 19:35:58 +00:00
bufcache.h - Fix fallout for recent bread() change (removing cred arg). 2015-03-29 19:35:58 +00:00
dir.c Use the lfs dinode accessors in place of the ufs-derived ones. 2015-09-01 06:08:37 +00:00
extern.h Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
fsck_lfs.8 Revert version 1.111 of sysinst/disks.c, which caused sysinst to 2014-07-12 16:11:27 +00:00
fsck_vars.h Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
fsck.h Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
inode.c Use the lfs dinode accessors in place of the ufs-derived ones. 2015-09-01 06:08:37 +00:00
kernelops.c fix prototypes of function pointers to varargs syscalls 2009-10-13 22:04:31 +00:00
kernelops.h Three changes in a single commit. 2010-02-16 23:20:30 +00:00
lfs_user.h Part two of dinodes; use the same union everywhere. 2015-08-19 20:33:29 +00:00
lfs.c Use the lfs dinode accessors in place of the ufs-derived ones. 2015-09-01 06:08:37 +00:00
main.c Add a new lfs header file: lfs_accessors.h. 2015-07-28 05:09:34 +00:00
Makefile Redo these changes properly: 2013-06-08 21:13:19 +00:00
pass0.c swap the formats too, not just the args. 2015-08-23 16:00:23 +00:00
pass1.c Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
pass2.c Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
pass3.c Tidy up the LFS userland build hacks. 2013-06-08 02:16:03 +00:00
pass4.c Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
pass5.c Use intmax_t to print daddr_t; from sevan@. 2015-08-03 04:16:10 +00:00
pass6.c Use the lfs dinode accessors in place of the ufs-derived ones. 2015-09-01 06:08:37 +00:00
segwrite.c Use the lfs dinode accessors in place of the ufs-derived ones. 2015-09-01 06:08:37 +00:00
segwrite.h Provide 32-bit and 64-bit versions of FINFO. 2015-08-12 18:27:01 +00:00
setup.c Use the lfs dinode accessors in place of the ufs-derived ones. 2015-09-01 06:08:37 +00:00
utilities.c Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
vars.c Hack up dinode usage to be 64 vs. 32 as needed. Part 1. 2015-08-12 18:28:00 +00:00
vnode.c Part two of dinodes; use the same union everywhere. 2015-08-19 20:33:29 +00:00
vnode.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00