Delete support for FFS filesystems before the in-inode symlink
authorguenther <guenther@openbsd.org>
Tue, 9 Jan 2024 03:15:59 +0000 (03:15 +0000)
committerguenther <guenther@openbsd.org>
Tue, 9 Jan 2024 03:15:59 +0000 (03:15 +0000)
commitda5362d567d5bc29ee9e27984ebc5dd0bad1b0e2
tree01dd97ef886ca56ec8cfca6a91c4c11835258bc0
parent4fd5269d5c82856b3086a80f409d6817570cf585
Delete support for FFS filesystems before the in-inode symlink
optimization.  As observed by ali_farzanrad(at)riseup.net, support
for these was broken in the 5.5 release in early 2014 by the time_t
changes.  No one noticed before now, so clearly this isn't something
we need to continue to support; rejecting in ffs_validate() is an
improvement.

Also: simplify DIRSIZ(), drop OLDDIRFMT and NEWDIRFMT, tests of
fs_maxsymlinklen against zero, #ifdef tests of FS_44INODEFMT, and
remove support for newfs -O0, last used in 2016.

ok miod@
20 files changed:
sbin/dump/main.c
sbin/dump/traverse.c
sbin/fsck_ffs/dir.c
sbin/fsck_ffs/inode.c
sbin/fsck_ffs/pass1.c
sbin/fsck_ffs/pass2.c
sbin/fsdb/fsdb.c
sbin/newfs/mkfs.c
sbin/newfs/newfs.8
sbin/newfs/newfs.c
sbin/restore/dirs.c
sys/ufs/ext2fs/ext2fs_dir.h
sys/ufs/ffs/ffs_inode.c
sys/ufs/ffs/ffs_vfsops.c
sys/ufs/ffs/ffs_vnops.c
sys/ufs/ufs/dir.h
sys/ufs/ufs/ufs_dirhash.c
sys/ufs/ufs/ufs_lookup.c
sys/ufs/ufs/ufs_vnops.c
usr.sbin/makefs/ffs.c