diff options
author | phk <phk@FreeBSD.org> | 2000-08-18 10:01:02 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-08-18 10:01:02 +0000 |
commit | 6dde24da5e3901df2e177767ae7d374fb70262ff (patch) | |
tree | 77f7a89259a726e581b2faa5b096de547743ccfb /sys/fs/portalfs | |
parent | c641580eb1aaa15d6571b77d05a257a87ad133f6 (diff) | |
download | FreeBSD-src-6dde24da5e3901df2e177767ae7d374fb70262ff.zip FreeBSD-src-6dde24da5e3901df2e177767ae7d374fb70262ff.tar.gz |
Introduce vop_stdinactive() and make it the default if no vop_inactive
is declared.
Sort and prune a few vop_op[].
Diffstat (limited to 'sys/fs/portalfs')
-rw-r--r-- | sys/fs/portalfs/portal_vnops.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/fs/portalfs/portal_vnops.c b/sys/fs/portalfs/portal_vnops.c index d4146da..621059a 100644 --- a/sys/fs/portalfs/portal_vnops.c +++ b/sys/fs/portalfs/portal_vnops.c @@ -69,7 +69,6 @@ static int portal_badop __P((void)); static void portal_closefd __P((struct proc *p, int fd)); static int portal_connect __P((struct socket *so, struct socket *so2)); static int portal_getattr __P((struct vop_getattr_args *ap)); -static int portal_inactive __P((struct vop_inactive_args *ap)); static int portal_lookup __P((struct vop_lookup_args *ap)); static int portal_open __P((struct vop_open_args *ap)); static int portal_print __P((struct vop_print_args *ap)); @@ -527,18 +526,6 @@ portal_readdir(ap) } static int -portal_inactive(ap) - struct vop_inactive_args /* { - struct vnode *a_vp; - struct proc *a_p; - } */ *ap; -{ - - VOP_UNLOCK(ap->a_vp, 0, ap->a_p); - return (0); -} - -static int portal_reclaim(ap) struct vop_reclaim_args /* { struct vnode *a_vp; @@ -590,7 +577,6 @@ static struct vnodeopv_entry_desc portal_vnodeop_entries[] = { { &vop_access_desc, (vop_t *) vop_null }, { &vop_bmap_desc, (vop_t *) portal_badop }, { &vop_getattr_desc, (vop_t *) portal_getattr }, - { &vop_inactive_desc, (vop_t *) portal_inactive }, { &vop_lookup_desc, (vop_t *) portal_lookup }, { &vop_open_desc, (vop_t *) portal_open }, { &vop_pathconf_desc, (vop_t *) vop_stdpathconf }, |