diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-04-17 08:56:39 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-04-17 08:56:39 +0000 |
commit | f84e29a06ca262c7ab86785292d9c71b4eeff4b6 (patch) | |
tree | 055e3218f278313eaa7f09ea7bc92fa63b786180 /sys/ntfs | |
parent | 4b7369ea648f8742b9ac53160865c17ba055d16c (diff) | |
download | src-f84e29a06ca262c7ab86785292d9c71b4eeff4b6.tar.gz src-f84e29a06ca262c7ab86785292d9c71b4eeff4b6.zip |
This patch removes the VOP_BWRITE() vector.
VOP_BWRITE() was a hack which made it possible for NFS client
side to use struct buf with non-bio backing.
This patch takes a more general approach and adds a bp->b_op
vector where more methods can be added.
The success of this patch depends on bp->b_op being initialized
all relevant places for some value of "relevant" which is not
easy to determine. For now the buffers have grown a b_magic
element which will make such issues a tiny bit easier to debug.
Notes
Notes:
svn path=/head/; revision=75580
Diffstat (limited to 'sys/ntfs')
-rw-r--r-- | sys/ntfs/ntfs_vnops.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/ntfs/ntfs_vnops.c b/sys/ntfs/ntfs_vnops.c index 710c0d1dd609..66ac7697f133 100644 --- a/sys/ntfs/ntfs_vnops.c +++ b/sys/ntfs/ntfs_vnops.c @@ -875,7 +875,6 @@ struct vnodeopv_entry_desc ntfs_vnodeop_entries[] = { { &vop_getpages_desc, (vop_t *) ntfs_getpages }, { &vop_putpages_desc, (vop_t *) ntfs_putpages }, { &vop_strategy_desc, (vop_t *)ntfs_strategy }, - { &vop_bwrite_desc, (vop_t *)vop_stdbwrite }, { &vop_read_desc, (vop_t *)ntfs_read }, { &vop_write_desc, (vop_t *)ntfs_write }, |