mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
constify vfsops; tedu@ ok
This commit is contained in:
parent
f93f1c70b0
commit
e4b1e213a3
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: advfsops.c,v 1.24 2002/04/23 18:54:12 espie Exp $ */
|
||||
/* $OpenBSD: advfsops.c,v 1.25 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: advfsops.c,v 1.24 1996/12/22 10:10:12 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -743,7 +743,7 @@ adosfs_init(struct vfsconf *vfsp)
|
||||
/*
|
||||
* vfs generic function call table
|
||||
*/
|
||||
struct vfsops adosfs_vfsops = {
|
||||
const struct vfsops adosfs_vfsops = {
|
||||
adosfs_mount,
|
||||
adosfs_start,
|
||||
adosfs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: cd9660_vfsops.c,v 1.34 2003/06/02 23:28:05 millert Exp $ */
|
||||
/* $OpenBSD: cd9660_vfsops.c,v 1.35 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */
|
||||
|
||||
/*-
|
||||
@ -62,7 +62,7 @@
|
||||
#include <isofs/cd9660/iso_rrip.h>
|
||||
#include <isofs/cd9660/cd9660_node.h>
|
||||
|
||||
struct vfsops cd9660_vfsops = {
|
||||
const struct vfsops cd9660_vfsops = {
|
||||
cd9660_mount,
|
||||
cd9660_start,
|
||||
cd9660_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: vfs_conf.c,v 1.21 2003/06/02 23:28:07 millert Exp $ */
|
||||
/* $OpenBSD: vfs_conf.c,v 1.22 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: vfs_conf.c,v 1.21.4.1 1995/11/01 00:06:26 jtc Exp $ */
|
||||
|
||||
/*
|
||||
@ -80,71 +80,71 @@ struct vnode *rootvnode;
|
||||
|
||||
|
||||
#ifdef FFS
|
||||
extern struct vfsops ffs_vfsops;
|
||||
extern const struct vfsops ffs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef LFS
|
||||
extern struct vfsops lfs_vfsops;
|
||||
extern const struct vfsops lfs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef MFS
|
||||
extern struct vfsops mfs_vfsops;
|
||||
extern const struct vfsops mfs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef MSDOSFS
|
||||
extern struct vfsops msdosfs_vfsops;
|
||||
extern const struct vfsops msdosfs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef NFSCLIENT
|
||||
extern struct vfsops nfs_vfsops;
|
||||
extern const struct vfsops nfs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef FDESC
|
||||
extern struct vfsops fdesc_vfsops;
|
||||
extern const struct vfsops fdesc_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef PORTAL
|
||||
extern struct vfsops portal_vfsops;
|
||||
extern const struct vfsops portal_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef NULLFS
|
||||
extern struct vfsops nullfs_vfsops;
|
||||
extern const struct vfsops nullfs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef UMAPFS
|
||||
extern struct vfsops umapfs_vfsops;
|
||||
extern const struct vfsops umapfs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef KERNFS
|
||||
extern struct vfsops kernfs_vfsops;
|
||||
extern const struct vfsops kernfs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef PROCFS
|
||||
extern struct vfsops procfs_vfsops;
|
||||
extern const struct vfsops procfs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef CD9660
|
||||
extern struct vfsops cd9660_vfsops;
|
||||
extern const struct vfsops cd9660_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef UNION
|
||||
extern struct vfsops union_vfsops;
|
||||
extern const struct vfsops union_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef ADOSFS
|
||||
extern struct vfsops adosfs_vfsops;
|
||||
extern const struct vfsops adosfs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef EXT2FS
|
||||
extern struct vfsops ext2fs_vfsops;
|
||||
extern const struct vfsops ext2fs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef XFS
|
||||
extern struct vfsops xfs_vfsops;
|
||||
extern const struct vfsops xfs_vfsops;
|
||||
#endif
|
||||
|
||||
#ifdef NTFS
|
||||
extern struct vfsops ntfs_vfsops;
|
||||
extern const struct vfsops ntfs_vfsops;
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: fdesc.h,v 1.8 2003/06/02 23:28:10 millert Exp $ */
|
||||
/* $OpenBSD: fdesc.h,v 1.9 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: fdesc.h,v 1.9 1996/02/09 22:40:03 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -71,5 +71,5 @@ extern int fdesc_init(struct vfsconf *);
|
||||
extern int fdesc_root(struct mount *, struct vnode **);
|
||||
extern int fdesc_allocvp(fdntype, int, struct mount *, struct vnode **);
|
||||
extern int (**fdesc_vnodeop_p)(void *);
|
||||
extern struct vfsops fdesc_vfsops;
|
||||
extern const struct vfsops fdesc_vfsops;
|
||||
#endif /* _KERNEL */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: fdesc_vfsops.c,v 1.12 2003/06/02 23:28:10 millert Exp $ */
|
||||
/* $OpenBSD: fdesc_vfsops.c,v 1.13 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: fdesc_vfsops.c,v 1.21 1996/02/09 22:40:07 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -219,7 +219,7 @@ fdesc_sync(mp, waitfor, uc, p)
|
||||
#define fdesc_checkexp ((int (*)(struct mount *, struct mbuf *, \
|
||||
int *, struct ucred **))eopnotsupp)
|
||||
|
||||
struct vfsops fdesc_vfsops = {
|
||||
const struct vfsops fdesc_vfsops = {
|
||||
fdesc_mount,
|
||||
fdesc_start,
|
||||
fdesc_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: kernfs.h,v 1.12 2003/08/11 10:19:24 mickey Exp $ */
|
||||
/* $OpenBSD: kernfs.h,v 1.13 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: kernfs.h,v 1.10 1996/02/09 22:40:21 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -97,6 +97,6 @@ int kernfs_init(struct vfsconf *);
|
||||
int kernfs_allocvp(const struct kern_target *, struct mount *, struct vnode **);
|
||||
const struct kern_target *kernfs_findtarget(char *, int);
|
||||
extern int (**kernfs_vnodeop_p)(void *);
|
||||
extern struct vfsops kernfs_vfsops;
|
||||
extern const struct vfsops kernfs_vfsops;
|
||||
extern dev_t rrootdev;
|
||||
#endif /* _KERNEL */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: kernfs_vfsops.c,v 1.24 2003/08/11 10:19:24 mickey Exp $ */
|
||||
/* $OpenBSD: kernfs_vfsops.c,v 1.25 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: kernfs_vfsops.c,v 1.26 1996/04/22 01:42:27 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -209,7 +209,7 @@ kernfs_statfs(mp, sbp, p)
|
||||
return (0);
|
||||
}
|
||||
|
||||
struct vfsops kernfs_vfsops = {
|
||||
const struct vfsops kernfs_vfsops = {
|
||||
kernfs_mount,
|
||||
kernfs_start,
|
||||
kernfs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: null.h,v 1.13 2003/06/02 23:28:10 millert Exp $ */
|
||||
/* $OpenBSD: null.h,v 1.14 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: null.h,v 1.13 2001/11/07 04:56:09 enami Exp $ */
|
||||
|
||||
/*
|
||||
@ -119,7 +119,7 @@ struct vnode *layer_checkvp(struct vnode *, char *, int);
|
||||
#endif
|
||||
|
||||
extern int (**nullfs_vnodeop_p)(void *);
|
||||
extern struct vfsops nullfs_vfsops;
|
||||
extern const struct vfsops nullfs_vfsops;
|
||||
|
||||
int nullfs_init(struct vfsconf *);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: null_vfsops.c,v 1.16 2003/06/02 23:28:10 millert Exp $ */
|
||||
/* $OpenBSD: null_vfsops.c,v 1.17 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: null_vfsops.c,v 1.38 2002/09/21 18:09:29 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -282,7 +282,7 @@ const struct vnodeopv_desc * const nullfs_vnodeopv_descs[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
struct vfsops nullfs_vfsops = {
|
||||
const struct vfsops nullfs_vfsops = {
|
||||
nullfs_mount,
|
||||
layerfs_start,
|
||||
nullfs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: portal.h,v 1.4 2003/06/02 23:28:10 millert Exp $ */
|
||||
/* $OpenBSD: portal.h,v 1.5 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: portal.h,v 1.7 1996/02/09 22:40:40 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -67,5 +67,5 @@ struct portalnode {
|
||||
#define PORTAL_ROOTFILEID 2
|
||||
|
||||
extern int (**portal_vnodeop_p)(void *);
|
||||
extern struct vfsops portal_vfsops;
|
||||
extern const struct vfsops portal_vfsops;
|
||||
#endif /* _KERNEL */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: portal_vfsops.c,v 1.17 2003/06/02 23:28:10 millert Exp $ */
|
||||
/* $OpenBSD: portal_vfsops.c,v 1.18 2003/08/14 07:46:39 mickey Exp $ */
|
||||
/* $NetBSD: portal_vfsops.c,v 1.14 1996/02/09 22:40:41 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -261,7 +261,7 @@ portal_statfs(mp, sbp, p)
|
||||
#define portal_checkexp ((int (*)(struct mount *, struct mbuf *, \
|
||||
int *, struct ucred **))eopnotsupp)
|
||||
|
||||
struct vfsops portal_vfsops = {
|
||||
const struct vfsops portal_vfsops = {
|
||||
portal_mount,
|
||||
portal_start,
|
||||
portal_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: procfs.h,v 1.20 2003/08/11 10:08:04 mickey Exp $ */
|
||||
/* $OpenBSD: procfs.h,v 1.21 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: procfs.h,v 1.17 1996/02/12 15:01:41 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -137,7 +137,7 @@ int procfs_rw(void *);
|
||||
#define PROCFS_WANT 0x02
|
||||
|
||||
extern int (**procfs_vnodeop_p)(void *);
|
||||
extern struct vfsops procfs_vfsops;
|
||||
extern const struct vfsops procfs_vfsops;
|
||||
|
||||
struct vfsconf;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: procfs_vfsops.c,v 1.21 2003/08/05 20:47:36 tedu Exp $ */
|
||||
/* $OpenBSD: procfs_vfsops.c,v 1.22 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: procfs_vfsops.c,v 1.25 1996/02/09 22:40:53 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -220,7 +220,7 @@ procfs_statfs(mp, sbp, p)
|
||||
#define procfs_checkexp ((int (*)(struct mount *, struct mbuf *, \
|
||||
int *, struct ucred **))eopnotsupp)
|
||||
|
||||
struct vfsops procfs_vfsops = {
|
||||
const struct vfsops procfs_vfsops = {
|
||||
procfs_mount,
|
||||
procfs_start,
|
||||
procfs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: umap.h,v 1.12 2003/06/02 23:28:11 millert Exp $ */
|
||||
/* $OpenBSD: umap.h,v 1.13 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: umap.h,v 1.9 1999/07/08 01:19:06 wrstuden Exp $ */
|
||||
|
||||
/*
|
||||
@ -103,7 +103,7 @@ void umap_mapids(struct mount *v_mount, struct ucred *credp);
|
||||
#endif
|
||||
|
||||
extern int (**umapfs_vnodeop_p)(void *);
|
||||
extern struct vfsops umapfs_vfsops;
|
||||
extern const struct vfsops umapfs_vfsops;
|
||||
|
||||
int umap_bypass(void *);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: umap_vfsops.c,v 1.22 2003/06/02 23:28:11 millert Exp $ */
|
||||
/* $OpenBSD: umap_vfsops.c,v 1.23 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: umap_vfsops.c,v 1.35 2002/09/21 18:09:31 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -301,7 +301,7 @@ const struct vnodeopv_desc * const umapfs_vnodeopv_descs[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
struct vfsops umapfs_vfsops = {
|
||||
const struct vfsops umapfs_vfsops = {
|
||||
umapfs_mount,
|
||||
layerfs_start,
|
||||
umapfs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: union.h,v 1.9 2003/06/02 23:28:11 millert Exp $ */
|
||||
/* $OpenBSD: union.h,v 1.10 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: union.h,v 1.13 2002/09/21 18:09:31 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -128,7 +128,7 @@ extern void union_newsize(struct vnode *, off_t, off_t);
|
||||
#define OTHERVP(vp) (UPPERVP(vp) ? UPPERVP(vp) : LOWERVP(vp))
|
||||
|
||||
extern int (**union_vnodeop_p)(void *);
|
||||
extern struct vfsops union_vfsops;
|
||||
extern const struct vfsops union_vfsops;
|
||||
|
||||
int union_init(struct vfsconf *);
|
||||
int union_freevp(struct vnode *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: union_vfsops.c,v 1.15 2003/06/02 23:28:11 millert Exp $ */
|
||||
/* $OpenBSD: union_vfsops.c,v 1.16 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: union_vfsops.c,v 1.10 1995/06/18 14:47:47 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -495,7 +495,7 @@ union_statfs(mp, sbp, p)
|
||||
#define union_checkexp ((int (*)(struct mount *, struct mbuf *, \
|
||||
int *, struct ucred **))eopnotsupp)
|
||||
|
||||
struct vfsops union_vfsops = {
|
||||
const struct vfsops union_vfsops = {
|
||||
union_mount,
|
||||
union_start,
|
||||
union_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: msdosfs_vfsops.c,v 1.31 2003/04/14 17:55:07 tedu Exp $ */
|
||||
/* $OpenBSD: msdosfs_vfsops.c,v 1.32 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */
|
||||
|
||||
/*-
|
||||
@ -854,7 +854,7 @@ msdosfs_check_export(mp, nam, exflagsp, credanonp)
|
||||
#define msdosfs_sysctl ((int (*)(int *, u_int, void *, size_t *, void *, \
|
||||
size_t, struct proc *))eopnotsupp)
|
||||
|
||||
struct vfsops msdosfs_vfsops = {
|
||||
const struct vfsops msdosfs_vfsops = {
|
||||
msdosfs_mount,
|
||||
msdosfs_start,
|
||||
msdosfs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: nfs_vfsops.c,v 1.50 2003/06/02 23:28:20 millert Exp $ */
|
||||
/* $OpenBSD: nfs_vfsops.c,v 1.51 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
|
||||
|
||||
/*
|
||||
@ -78,7 +78,7 @@ int nfs_checkexp(struct mount *mp, struct mbuf *nam,
|
||||
/*
|
||||
* nfs vfs operations.
|
||||
*/
|
||||
struct vfsops nfs_vfsops = {
|
||||
const struct vfsops nfs_vfsops = {
|
||||
nfs_mount,
|
||||
nfs_start,
|
||||
nfs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ntfs_vfsops.c,v 1.4 2003/05/24 21:48:05 tedu Exp $ */
|
||||
/* $OpenBSD: ntfs_vfsops.c,v 1.5 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */
|
||||
|
||||
/*-
|
||||
@ -1165,7 +1165,7 @@ const struct vnodeopv_desc * const ntfs_vnodeopv_descs[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
struct vfsops ntfs_vfsops = {
|
||||
const struct vfsops ntfs_vfsops = {
|
||||
ntfs_mount,
|
||||
ntfs_start,
|
||||
ntfs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: mount.h,v 1.57 2003/08/05 21:27:15 tedu Exp $ */
|
||||
/* $OpenBSD: mount.h,v 1.58 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: mount.h,v 1.48 1996/02/18 11:55:47 fvdl Exp $ */
|
||||
|
||||
/*
|
||||
@ -363,7 +363,7 @@ LIST_HEAD(vnodelst, vnode);
|
||||
|
||||
struct mount {
|
||||
CIRCLEQ_ENTRY(mount) mnt_list; /* mount list */
|
||||
struct vfsops *mnt_op; /* operations on fs */
|
||||
const struct vfsops *mnt_op; /* operations on fs */
|
||||
struct vfsconf *mnt_vfc; /* configuration info */
|
||||
struct vnode *mnt_vnodecovered; /* vnode we mounted on */
|
||||
struct vnode *mnt_syncer; /* syncer vnode */
|
||||
@ -452,7 +452,7 @@ struct mount {
|
||||
* mount time to identify the requested filesystem.
|
||||
*/
|
||||
struct vfsconf {
|
||||
struct vfsops *vfc_vfsops; /* filesystem operations vector */
|
||||
const struct vfsops *vfc_vfsops; /* filesystem operations vector */
|
||||
char vfc_name[MFSNAMELEN]; /* filesystem type name */
|
||||
int vfc_typenum; /* historic filesystem type number */
|
||||
int vfc_refcount; /* number mounted of this type */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ext2fs_vfsops.c,v 1.28 2003/07/06 09:02:11 tedu Exp $ */
|
||||
/* $OpenBSD: ext2fs_vfsops.c,v 1.29 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: ext2fs_vfsops.c,v 1.1 1997/06/11 09:34:07 bouyer Exp $ */
|
||||
|
||||
/*
|
||||
@ -81,7 +81,7 @@ struct vnodeopv_desc *ext2fs_vnodeopv_descs[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
struct vfsops ext2fs_vfsops = {
|
||||
const struct vfsops ext2fs_vfsops = {
|
||||
ext2fs_mount,
|
||||
ufs_start,
|
||||
ext2fs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ffs_vfsops.c,v 1.57 2003/07/10 22:32:20 tedu Exp $ */
|
||||
/* $OpenBSD: ffs_vfsops.c,v 1.58 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -68,7 +68,7 @@ int ffs_sbupdate(struct ufsmount *, int);
|
||||
int ffs_reload_vnode(struct vnode *, void *);
|
||||
int ffs_sync_vnode(struct vnode *, void *);
|
||||
|
||||
struct vfsops ffs_vfsops = {
|
||||
const struct vfsops ffs_vfsops = {
|
||||
ffs_mount,
|
||||
ufs_start,
|
||||
ffs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: lfs_vfsops.c,v 1.17 2003/06/02 23:28:23 millert Exp $ */
|
||||
/* $OpenBSD: lfs_vfsops.c,v 1.18 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: lfs_vfsops.c,v 1.11 1996/03/25 12:53:35 pk Exp $ */
|
||||
|
||||
/*
|
||||
@ -60,7 +60,7 @@
|
||||
|
||||
int lfs_mountfs(struct vnode *, struct mount *, struct proc *);
|
||||
|
||||
struct vfsops lfs_vfsops = {
|
||||
const struct vfsops lfs_vfsops = {
|
||||
lfs_mount,
|
||||
ufs_start,
|
||||
lfs_unmount,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: mfs_vfsops.c,v 1.25 2003/06/02 23:28:23 millert Exp $ */
|
||||
/* $OpenBSD: mfs_vfsops.c,v 1.26 2003/08/14 07:46:40 mickey Exp $ */
|
||||
/* $NetBSD: mfs_vfsops.c,v 1.10 1996/02/09 22:31:28 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -66,7 +66,7 @@ extern int (**mfs_vnodeop_p)(void *);
|
||||
/*
|
||||
* mfs vfs operations.
|
||||
*/
|
||||
struct vfsops mfs_vfsops = {
|
||||
const struct vfsops mfs_vfsops = {
|
||||
mfs_mount,
|
||||
mfs_start,
|
||||
ffs_unmount,
|
||||
|
@ -80,7 +80,7 @@ xfs_init(struct vfsconf *vfs)
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct vfsops xfs_vfsops = {
|
||||
const struct vfsops xfs_vfsops = {
|
||||
#ifdef HAVE_STRUCT_VFSOPS_VFS_MOUNT
|
||||
xfs_mount_common,
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user