From eeff042fb3b50d4f87c126f236db723d5fb95c75 Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Tue, 8 Jan 2002 19:33:51 +0000 Subject: [PATCH] Staticise the coda vfsop pointer. --- sys/coda/coda_vnops.c | 1 + sys/coda/coda_vnops.h | 2 -- sys/fs/coda/coda_vnops.c | 1 + sys/fs/coda/coda_vnops.h | 2 -- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/coda/coda_vnops.c b/sys/coda/coda_vnops.c index a9da56b221b..3c3eee9a95a 100644 --- a/sys/coda/coda_vnops.c +++ b/sys/coda/coda_vnops.c @@ -95,6 +95,7 @@ int coda_vnop_print_entry = 0; static int coda_lockdebug = 0; /* Definition of the vfs operation vector */ +static int (**coda_vnodeop_p)(void *); /* * Some NetBSD details: diff --git a/sys/coda/coda_vnops.h b/sys/coda/coda_vnops.h index 663d3572abe..99392d64dac 100644 --- a/sys/coda/coda_vnops.h +++ b/sys/coda/coda_vnops.h @@ -79,8 +79,6 @@ int coda_vop_error __P((void *)); int coda_vop_nop __P((void *)); int coda_fbsd_getpages __P((void *)); -int (**coda_vnodeop_p)(void *); - int coda_rdwr(struct vnode *vp, struct uio *uiop, enum uio_rw rw, int ioflag, struct ucred *cred, struct thread *td); int coda_grab_vnode(dev_t dev, ino_t ino, struct vnode **vpp); diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c index a9da56b221b..3c3eee9a95a 100644 --- a/sys/fs/coda/coda_vnops.c +++ b/sys/fs/coda/coda_vnops.c @@ -95,6 +95,7 @@ int coda_vnop_print_entry = 0; static int coda_lockdebug = 0; /* Definition of the vfs operation vector */ +static int (**coda_vnodeop_p)(void *); /* * Some NetBSD details: diff --git a/sys/fs/coda/coda_vnops.h b/sys/fs/coda/coda_vnops.h index 663d3572abe..99392d64dac 100644 --- a/sys/fs/coda/coda_vnops.h +++ b/sys/fs/coda/coda_vnops.h @@ -79,8 +79,6 @@ int coda_vop_error __P((void *)); int coda_vop_nop __P((void *)); int coda_fbsd_getpages __P((void *)); -int (**coda_vnodeop_p)(void *); - int coda_rdwr(struct vnode *vp, struct uio *uiop, enum uio_rw rw, int ioflag, struct ucred *cred, struct thread *td); int coda_grab_vnode(dev_t dev, ino_t ino, struct vnode **vpp);