Properly implement a default version of VOP_GETWRITEMOUNT.

Remove improper access to vop_stdgetwritemount() which should and
will instead rely on the VOP default path.
This commit is contained in:
Poul-Henning Kamp 2004-11-06 11:41:22 +00:00
parent 0c7d0f9639
commit 5349c79d75
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137308
6 changed files with 1 additions and 5 deletions

View File

@ -1325,7 +1325,6 @@ static struct vnodeopv_entry_desc devfs_specop_entries[] = {
{ &vop_create_desc, (vop_t *) vop_panic },
{ &vop_fsync_desc, (vop_t *) devfs_fsync },
{ &vop_getattr_desc, (vop_t *) devfs_getattr },
{ &vop_getwritemount_desc, (vop_t *) vop_stdgetwritemount },
{ &vop_ioctl_desc, (vop_t *) devfs_ioctl },
{ &vop_kqfilter_desc, (vop_t *) devfs_kqfilter },
{ &vop_lease_desc, (vop_t *) vop_null },

View File

@ -92,7 +92,6 @@ static struct vnodeopv_entry_desc fifo_vnodeop_entries[] = {
{ &vop_close_desc, (vop_t *) fifo_close },
{ &vop_create_desc, (vop_t *) vop_panic },
{ &vop_getattr_desc, (vop_t *) vop_ebadf },
{ &vop_getwritemount_desc, (vop_t *) vop_stdgetwritemount },
{ &vop_ioctl_desc, (vop_t *) fifo_ioctl },
{ &vop_kqfilter_desc, (vop_t *) fifo_kqfilter },
{ &vop_lease_desc, (vop_t *) vop_null },

View File

@ -127,7 +127,6 @@ static struct vnodeopv_entry_desc ext2_vnodeop_entries[] = {
{ &vop_create_desc, (vop_t *) ext2_create },
{ &vop_fsync_desc, (vop_t *) ext2_fsync },
{ &vop_getattr_desc, (vop_t *) ext2_getattr },
{ &vop_getwritemount_desc, (vop_t *) vop_stdgetwritemount },
{ &vop_inactive_desc, (vop_t *) ext2_inactive },
{ &vop_link_desc, (vop_t *) ext2_link },
{ &vop_lookup_desc, (vop_t *) vfs_cache_lookup },

View File

@ -127,7 +127,6 @@ static struct vnodeopv_entry_desc ext2_vnodeop_entries[] = {
{ &vop_create_desc, (vop_t *) ext2_create },
{ &vop_fsync_desc, (vop_t *) ext2_fsync },
{ &vop_getattr_desc, (vop_t *) ext2_getattr },
{ &vop_getwritemount_desc, (vop_t *) vop_stdgetwritemount },
{ &vop_inactive_desc, (vop_t *) ext2_inactive },
{ &vop_link_desc, (vop_t *) ext2_link },
{ &vop_lookup_desc, (vop_t *) vfs_cache_lookup },

View File

@ -81,6 +81,7 @@ static struct vnodeopv_entry_desc default_vnodeop_entries[] = {
{ &vop_fsync_desc, (vop_t *) vop_null },
{ &vop_getpages_desc, (vop_t *) vop_stdgetpages },
{ &vop_getvobject_desc, (vop_t *) vop_stdgetvobject },
{ &vop_getwritemount_desc, (vop_t *) vop_stdgetwritemount },
{ &vop_inactive_desc, (vop_t *) vop_stdinactive },
{ &vop_ioctl_desc, (vop_t *) vop_enotty },
{ &vop_islocked_desc, (vop_t *) vop_stdislocked },

View File

@ -2598,7 +2598,6 @@ static struct vnodeopv_entry_desc ufs_vnodeop_entries[] = {
{ &vop_pathconf_desc, (vop_t *) ufs_pathconf },
{ &vop_poll_desc, (vop_t *) vop_stdpoll },
{ &vop_kqfilter_desc, (vop_t *) ufs_kqfilter },
{ &vop_getwritemount_desc, (vop_t *) vop_stdgetwritemount },
{ &vop_print_desc, (vop_t *) ufs_print },
{ &vop_readdir_desc, (vop_t *) ufs_readdir },
{ &vop_readlink_desc, (vop_t *) ufs_readlink },