Remove VOP_BWRITE(). This function provided a way for a VFS to override
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 5 May 2006 16:35:11 +0000 (16:35 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 5 May 2006 16:35:11 +0000 (16:35 +0000)
commit62cfda2772299e3a74e7ced1f91b0f8fe45f3e9a
treec8af6f983bd95a1b1ddf92e6f67ef45eabec60fb
parentc8e4131db450d887d3dc7822bd82c9efc0d89dc9
Remove VOP_BWRITE().  This function provided a way for a VFS to override
the bwrite() function and was used *only* by NFS in order to allow NFS to
handle the B_NEEDCOMMIT flag as part of NFSv3's 2-phase commit operation.
However, over time, the handling of this flag was moved to the strategy code.
Additionally, the kernel now fully supports the redirtying of buffers
during an I/O (which both softupdates and NFS need to be able to do).

The override is no longer needed.  All former calls to VOP_BWRITE() now
simply call bwrite().
18 files changed:
sys/kern/vfs_bio.c
sys/kern/vfs_default.c
sys/kern/vfs_subr.c
sys/kern/vfs_vopops.c
sys/sys/vfsops.h
sys/sys/vnode.h
sys/vfs/coda/coda_vnops.c
sys/vfs/gnu/ext2fs/ext2_lookup.c
sys/vfs/hpfs/hpfs_vnops.c
sys/vfs/mfs/mfs_vnops.c
sys/vfs/nfs/nfs.h
sys/vfs/nfs/nfs_bio.c
sys/vfs/nfs/nfs_serv.c
sys/vfs/nfs/nfs_vnops.c
sys/vfs/ntfs/ntfs_vnops.c
sys/vfs/ufs/ffs_softdep.c
sys/vfs/ufs/ufs_lookup.c
sys/vfs/ufs/ufs_vnops.c