Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 03/30/2006 12:40:06
Module Name: src
Committed By: yamt
Date: Thu Mar 30 12:40:06 UTC 2006
Modified Files:
src/sys/miscfs/genfs: genfs_node.h genfs_vnops.c
src/sys/nfs: nfs_node.c
src/sys/ufs/ffs: ffs_vnops.c
src/sys/ufs/lfs: lfs_vfsops.c lfs_vnops.c
src/sys/ufs/ufs: ufs_inode.c ufs_lookup.c
Log Message:
some cleanups after the introduction of GOP_SIZE_MEM flag.
- remove GOP_SIZE_READ/GOP_SIZE_WRITE flags.
they have not been used since the change.
- ufs_balloc_range: remove code which has been no-op since the change.
thanks Konrad Schroder for explaining the original intention of the code.
- ffs_gop_size: don't extend past eof, in the case of GOP_SIZE_MEM.
otherwise genfs_getpages end up to allocate pages past eof unnecessarily.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/miscfs/genfs/genfs_node.h
cvs rdiff -r1.122 -r1.123 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -r1.82 -r1.83 src/sys/nfs/nfs_node.c
cvs rdiff -r1.77 -r1.78 src/sys/ufs/ffs/ffs_vnops.c
cvs rdiff -r1.196 -r1.197 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.159 -r1.160 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -r1.57 -r1.58 src/sys/ufs/ufs/ufs_inode.c
cvs rdiff -r1.73 -r1.74 src/sys/ufs/ufs/ufs_lookup.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.