NetBSD/sys/ufs/ffs
lukem e3ba61f9f3 Incorporate fix by iedowse @ FreeBSD to allow disks with large numbers of
cylinder groups to work correctly, with minor modifications by me to work
with our FFS_EI code.  From the FreeBSD commit message:

	The ffs superblock includes a 128-byte region for use by temporary
	in-core pointers to summary information. An array in this region
	(fs_csp) could overflow on filesystems with a very large number of
	cylinder groups (~16000 on i386 with 8k blocks). When this happens,
	other fields in the superblock get corrupted, and fsck refuses to
	check the filesystem.

	Solve this problem by replacing the fs_csp array in 'struct fs'
	with a single pointer, and add padding to keep the length of the
	128-byte region fixed. Update the kernel and userland utilities
	to use just this single pointer.

	With this change, the kernel no longer makes use of the superblock
	fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c
	to indicate that these fields must be calculated for compatibility
	with older kernels.

	Reviewed by:    mckusick
2001-09-02 01:58:30 +00:00
..
ffs_alloc.c no need to cast arg to lblktosize() any more 2001-08-31 03:38:45 +00:00
ffs_balloc.c get argument name correct in comment describing vop_balloc_args 2001-08-08 08:36:36 +00:00
ffs_bswap.c remove third argument (`int ns') from ffs_sb_swap(), and let ffs_sb_swap() 2001-08-17 02:18:46 +00:00
ffs_extern.h remove third argument (`int ns') from ffs_sb_swap(), and let ffs_sb_swap() 2001-08-17 02:18:46 +00:00
ffs_inode.c min() -> MIN() 2001-08-30 03:47:53 +00:00
ffs_softdep.c min() -> MIN() (on general principles) 2001-08-30 03:55:42 +00:00
ffs_softdep.stub.c
ffs_subr.c be consistent and use "u_char" instead of "unsigned char" 2001-08-09 08:15:26 +00:00
ffs_tables.c
ffs_vfsops.c Incorporate fix by iedowse @ FreeBSD to allow disks with large numbers of 2001-09-02 01:58:30 +00:00
ffs_vnops.c add getpages/putpages entries for spec vnodes. 2001-08-17 05:54:36 +00:00
fs.h Incorporate fix by iedowse @ FreeBSD to allow disks with large numbers of 2001-09-02 01:58:30 +00:00
Makefile
softdep.h