Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: source-changes
Date: 10/20/2006 18:58:13
Module Name: src
Committed By: reinoud
Date: Fri Oct 20 18:58:13 UTC 2006
Modified Files:
src/sys/coda: coda_subr.c
src/sys/fs/msdosfs: msdosfs_vfsops.c
src/sys/fs/smbfs: smbfs_vfsops.c
src/sys/fs/udf: udf_vfsops.c
src/sys/fs/union: union_vfsops.c
src/sys/kern: vfs_subr.c vfs_syscalls.c
src/sys/miscfs/genfs: genfs_vnops.c
src/sys/miscfs/syncfs: sync_subr.c syncfs.h
src/sys/nfs: nfs_subs.c nfs_vfsops.c
src/sys/sys: mount.h vnode.h
src/sys/ufs/ext2fs: ext2fs_vfsops.c
src/sys/ufs/ffs: ffs_snapshot.c ffs_vfsops.c
src/sys/ufs/lfs: lfs_segment.c lfs_vnops.c
src/sys/ufs/ufs: ufs_quota.c
src/usr.sbin/pstat: pstat.c
Log Message:
Replace the LIST structure mp->mnt_vnodelist to a TAILQ structure since all
vnodes were synced and processed backwards. This meant that the last
accessed node was processed first and the earlierst last.
An extra benefit is the removal of the ugly hack from the Berkly days on
LFS.
In the proces, i've also replaced the various variations hand written loops
by the TAILQ_FOREACH() macro's.
To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/coda/coda_subr.c
cvs rdiff -r1.36 -r1.37 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -r1.55 -r1.56 src/sys/fs/smbfs/smbfs_vfsops.c
cvs rdiff -r1.16 -r1.17 src/sys/fs/udf/udf_vfsops.c
cvs rdiff -r1.38 -r1.39 src/sys/fs/union/union_vfsops.c
cvs rdiff -r1.271 -r1.272 src/sys/kern/vfs_subr.c
cvs rdiff -r1.272 -r1.273 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.136 -r1.137 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -r1.24 -r1.25 src/sys/miscfs/syncfs/sync_subr.c
cvs rdiff -r1.9 -r1.10 src/sys/miscfs/syncfs/syncfs.h
cvs rdiff -r1.175 -r1.176 src/sys/nfs/nfs_subs.c
cvs rdiff -r1.165 -r1.166 src/sys/nfs/nfs_vfsops.c
cvs rdiff -r1.148 -r1.149 src/sys/sys/mount.h
cvs rdiff -r1.157 -r1.158 src/sys/sys/vnode.h
cvs rdiff -r1.102 -r1.103 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -r1.33 -r1.34 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -r1.187 -r1.188 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.193 -r1.194 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.191 -r1.192 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -r1.41 -r1.42 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -r1.95 -r1.96 src/usr.sbin/pstat/pstat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.