Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 08/15/2004 07:20:00
Module Name:	src
Committed By:	mycroft
Date:		Sun Aug 15 07:20:00 UTC 2004

Modified Files:
	src/sys/compat/common: vfs_syscalls_43.c
	src/sys/fs/cd9660: cd9660_vfsops.c
	src/sys/fs/filecorefs: filecore_vfsops.c
	src/sys/fs/ntfs: ntfs_vfsops.c
	src/sys/kern: vfs_subr.c
	src/sys/nfs: nfs_vfsops.c
	src/sys/sys: fstypes.h mount.h
	src/sys/ufs/ext2fs: ext2fs_bmap.c ext2fs_inode.c ext2fs_lookup.c
	    ext2fs_readwrite.c ext2fs_vfsops.c ext2fs_vnops.c
	src/sys/ufs/ffs: ffs_inode.c ffs_vfsops.c
	src/sys/ufs/lfs: lfs_inode.c lfs_vfsops.c
	src/sys/ufs/ufs: ufs_bmap.c ufs_bswap.h ufs_lookup.c ufs_quota.c
	    ufs_readwrite.c ufs_vnops.c ufsmount.h

Log Message:
Fixing age old cruft:
* Rather than using mnt_maxsymlinklen to indicate that a file systems returns
  d_type fields(!), add a new internal flag, IMNT_DTYPE.

Add 3 new elements to ufsmount:
* um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed
  in the first place).
* um_dirblksiz, which tracks the current directory block size, eliminating the
  FS-specific checks littered throughout the code.  This may be used later to
  make the block size variable.
* um_maxfilesize, which is the maximum file size, possibly adjusted lower due
  to implementation issues.

Sync some bug fixes from FFS into ext2fs, particularly:
* ffs_lookup.c 1.21, 1.28, 1.33, 1.48
* ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67
* ffs_vnops.c 1.84, 1.85, 1.86

Clean up some crappy pointer frobnication.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/compat/common/vfs_syscalls_43.c
cvs rdiff -r1.16 -r1.17 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -r1.14 -r1.15 src/sys/fs/filecorefs/filecore_vfsops.c
cvs rdiff -r1.23 -r1.24 src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -r1.231 -r1.232 src/sys/kern/vfs_subr.c
cvs rdiff -r1.142 -r1.143 src/sys/nfs/nfs_vfsops.c
cvs rdiff -r1.2 -r1.3 src/sys/sys/fstypes.h
cvs rdiff -r1.123 -r1.124 src/sys/sys/mount.h
cvs rdiff -r1.15 -r1.16 src/sys/ufs/ext2fs/ext2fs_bmap.c
cvs rdiff -r1.42 -r1.43 src/sys/ufs/ext2fs/ext2fs_inode.c
cvs rdiff -r1.28 -r1.29 src/sys/ufs/ext2fs/ext2fs_lookup.c
cvs rdiff -r1.32 -r1.33 src/sys/ufs/ext2fs/ext2fs_readwrite.c
cvs rdiff -r1.74 -r1.75 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -r1.54 -r1.55 src/sys/ufs/ext2fs/ext2fs_vnops.c
cvs rdiff -r1.67 -r1.68 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -r1.152 -r1.153 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.84 -r1.85 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -r1.155 -r1.156 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.30 -r1.31 src/sys/ufs/ufs/ufs_bmap.c \
    src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -r1.13 -r1.14 src/sys/ufs/ufs/ufs_bswap.h
cvs rdiff -r1.57 -r1.58 src/sys/ufs/ufs/ufs_lookup.c
cvs rdiff -r1.55 -r1.56 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -r1.118 -r1.119 src/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -r1.16 -r1.17 src/sys/ufs/ufs/ufsmount.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.