diff options
author | phk <phk@FreeBSD.org> | 1997-10-26 20:55:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-26 20:55:39 +0000 |
commit | e3cdaf12b2b1039b21a615be67756c1d2e49a342 (patch) | |
tree | 938be7b5e64d05ad10e17ada8dfae77d07754414 /sys/nfsclient | |
parent | d9574c43edc723778db9f6eefab8d2a1695c279b (diff) | |
download | FreeBSD-src-e3cdaf12b2b1039b21a615be67756c1d2e49a342.zip FreeBSD-src-e3cdaf12b2b1039b21a615be67756c1d2e49a342.tar.gz |
VFS interior redecoration.
Rename vn_default_error to vop_defaultop all over the place.
Move vn_bwrite from vfs_bio.c to vfs_default.c and call it vop_stdbwrite.
Use vop_null instead of nullop.
Move vop_nopoll from vfs_subr.c to vfs_default.c
Move vop_sharedlock from vfs_subr.c to vfs_default.c
Move vop_nolock from vfs_subr.c to vfs_default.c
Move vop_nounlock from vfs_subr.c to vfs_default.c
Move vop_noislocked from vfs_subr.c to vfs_default.c
Use vop_ebadf instead of *_ebadf.
Add vop_defaultop for getpages on master vnode in MFS.
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index 132e3a5..840a6c5 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_vnops.c 8.16 (Berkeley) 5/27/95 - * $Id: nfs_vnops.c,v 1.68 1997/10/16 20:32:32 phk Exp $ + * $Id: nfs_vnops.c,v 1.69 1997/10/16 22:00:51 phk Exp $ */ @@ -133,7 +133,7 @@ static int nfs_bwrite __P((struct vop_bwrite_args *)); */ vop_t **nfsv2_vnodeop_p; static struct vnodeopv_entry_desc nfsv2_vnodeop_entries[] = { - { &vop_default_desc, (vop_t *) vn_default_error }, + { &vop_default_desc, (vop_t *) vop_defaultop }, { &vop_abortop_desc, (vop_t *) nfs_abortop }, { &vop_access_desc, (vop_t *) nfs_access }, { &vop_advlock_desc, (vop_t *) nfs_advlock }, @@ -145,7 +145,7 @@ static struct vnodeopv_entry_desc nfsv2_vnodeop_entries[] = { { &vop_getattr_desc, (vop_t *) nfs_getattr }, { &vop_getpages_desc, (vop_t *) nfs_getpages }, { &vop_inactive_desc, (vop_t *) nfs_inactive }, - { &vop_lease_desc, (vop_t *) nullop }, + { &vop_lease_desc, (vop_t *) vop_null }, { &vop_link_desc, (vop_t *) nfs_link }, { &vop_lock_desc, (vop_t *) vop_sharedlock }, { &vop_lookup_desc, (vop_t *) nfs_lookup }, |