VFS messaging/interfacing work stage 7d/99: More firming up of stage 7.
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 5 Oct 2004 03:24:35 +0000 (03:24 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 5 Oct 2004 03:24:35 +0000 (03:24 +0000)
commit8e005a4581fff1a8f490cae499fe12b09b86c37c
tree347e7bbf57d48f8af614e4063b88a4f1753a4db4
parent8c361dda31a84321b0875a6f31dc7904f550ec68
VFS messaging/interfacing work stage 7d/99: More firming up of stage 7.

Additional work to deal with old-api/new-api issues.  Cut more stuff
out of the old-api's cache_enter() routine to deal with deadlocks, at
the cost of some performance loss (temporary until the VFS's start using
the new APIs).  Change UFS and NFS to not purge whole directories in
*_rename() and *_rmdir().

Add some minor breakage to the API which will not be fixed until the VFS's
get new rename implementations - renaming a directory in which a process
has chdir'd will create problems for that process.  This doesn't happen
normally anyway so this temporary breakage should not cause any significant
problems.

Bug-reports-by: walt, Sascha Wildner, others
17 files changed:
sys/kern/vfs_cache.c
sys/kern/vfs_default.c
sys/kern/vfs_nlookup.c
sys/kern/vfs_subr.c
sys/kern/vfs_syscalls.c
sys/sys/namecache.h
sys/vfs/coda/coda_vnops.c
sys/vfs/hpfs/hpfs_vnops.c
sys/vfs/isofs/cd9660/cd9660_node.c
sys/vfs/msdosfs/msdosfs_denode.c
sys/vfs/nfs/nfs_node.c
sys/vfs/nfs/nfs_vnops.c
sys/vfs/ntfs/ntfs_vnops.c
sys/vfs/nwfs/nwfs_node.c
sys/vfs/smbfs/smbfs_node.c
sys/vfs/ufs/ufs_inode.c
sys/vfs/ufs/ufs_vnops.c