diff options
author | assar <assar@cvs.openbsd.org> | 2001-02-20 01:50:13 +0000 |
---|---|---|
committer | assar <assar@cvs.openbsd.org> | 2001-02-20 01:50:13 +0000 |
commit | 86744021bc298d5866b29e263475344195783db9 (patch) | |
tree | 4597652b33597dfa91cc159a1949ece9abb1d59e | |
parent | 65f9ace72306ea33faaac257ca07de20597cee44 (diff) |
use void * consistently in vfs_mount and sys_mount. ok @art
-rw-r--r-- | sys/adosfs/advfsops.c | 8 | ||||
-rw-r--r-- | sys/isofs/cd9660/cd9660_extern.h | 4 | ||||
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 6 | ||||
-rw-r--r-- | sys/kern/vfs_syscalls.c | 4 | ||||
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vfsops.c | 6 | ||||
-rw-r--r-- | sys/miscfs/kernfs/kernfs_vfsops.c | 6 | ||||
-rw-r--r-- | sys/miscfs/nullfs/null_vfsops.c | 8 | ||||
-rw-r--r-- | sys/miscfs/portal/portal_vfsops.c | 8 | ||||
-rw-r--r-- | sys/miscfs/procfs/procfs_vfsops.c | 6 | ||||
-rw-r--r-- | sys/miscfs/tcfs/tcfs_vfsops.c | 8 | ||||
-rw-r--r-- | sys/miscfs/umapfs/umap_vfsops.c | 8 | ||||
-rw-r--r-- | sys/miscfs/union/union_vfsops.c | 8 | ||||
-rw-r--r-- | sys/msdosfs/msdosfs_vfsops.c | 8 | ||||
-rw-r--r-- | sys/msdosfs/msdosfsmount.h | 4 | ||||
-rw-r--r-- | sys/nfs/nfs_vfsops.c | 6 | ||||
-rw-r--r-- | sys/nfs/nfsmount.h | 4 | ||||
-rw-r--r-- | sys/sys/mount.h | 5 | ||||
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_extern.h | 4 | ||||
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_vfsops.c | 4 | ||||
-rw-r--r-- | sys/ufs/ffs/ffs_extern.h | 4 | ||||
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 6 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_extern.h | 4 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_vfsops.c | 4 | ||||
-rw-r--r-- | sys/ufs/mfs/mfs_extern.h | 4 | ||||
-rw-r--r-- | sys/ufs/mfs/mfs_vfsops.c | 4 |
25 files changed, 71 insertions, 70 deletions
diff --git a/sys/adosfs/advfsops.c b/sys/adosfs/advfsops.c index bfaea0c3837..f4508f7a029 100644 --- a/sys/adosfs/advfsops.c +++ b/sys/adosfs/advfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: advfsops.c,v 1.17 2000/04/25 06:10:15 niklas Exp $ */ +/* $OpenBSD: advfsops.c,v 1.18 2001/02/20 01:50:08 assar Exp $ */ /* $NetBSD: advfsops.c,v 1.24 1996/12/22 10:10:12 cgd Exp $ */ /* @@ -51,7 +51,7 @@ #include <adosfs/adosfs.h> int adosfs_init __P((struct vfsconf *)); -int adosfs_mount __P((struct mount *, const char *, caddr_t, struct nameidata *, +int adosfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int adosfs_start __P((struct mount *, int, struct proc *)); int adosfs_unmount __P((struct mount *, int, struct proc *)); @@ -72,7 +72,7 @@ int adosfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -83,7 +83,7 @@ adosfs_mount(mp, path, data, ndp, p) int error; mode_t accessmode; - error = copyin(data, (caddr_t)&args, sizeof(struct adosfs_args)); + error = copyin(data, &args, sizeof(struct adosfs_args)); if (error) return(error); diff --git a/sys/isofs/cd9660/cd9660_extern.h b/sys/isofs/cd9660/cd9660_extern.h index 546e24e43e2..7c57a3cb23e 100644 --- a/sys/isofs/cd9660/cd9660_extern.h +++ b/sys/isofs/cd9660/cd9660_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_extern.h,v 1.5 2000/06/07 23:25:08 millert Exp $ */ +/* $OpenBSD: cd9660_extern.h,v 1.6 2001/02/20 01:50:08 assar Exp $ */ /* $NetBSD: cd9660_extern.h,v 1.1 1997/01/24 00:24:53 cgd Exp $ */ /*- @@ -84,7 +84,7 @@ struct iso_mnt { #define lblkno(imp, loc) ((loc) >> (imp)->im_bshift) #define blksize(imp, ip, lbn) ((imp)->logical_block_size) -int cd9660_mount __P((struct mount *, const char *, caddr_t, +int cd9660_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int cd9660_start __P((struct mount *, int, struct proc *)); int cd9660_unmount __P((struct mount *, int, struct proc *)); diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index ac08b189ca2..4b8f8dcd8fa 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_vfsops.c,v 1.20 2000/06/07 23:25:08 millert Exp $ */ +/* $OpenBSD: cd9660_vfsops.c,v 1.21 2001/02/20 01:50:09 assar Exp $ */ /* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */ /*- @@ -134,7 +134,7 @@ int cd9660_mount(mp, path, data, ndp, p) register struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -144,7 +144,7 @@ cd9660_mount(mp, path, data, ndp, p) int error; struct iso_mnt *imp = NULL; - error = copyin(data, (caddr_t)&args, sizeof (struct iso_args)); + error = copyin(data, &args, sizeof (struct iso_args)); if (error) return (error); diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index cf680b13dbc..ec0f6bf9597 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.66 2001/02/12 07:03:13 fgsch Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.67 2001/02/20 01:50:09 assar Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -101,7 +101,7 @@ sys_mount(p, v, retval) syscallarg(char *) type; syscallarg(char *) path; syscallarg(int) flags; - syscallarg(caddr_t) data; + syscallarg(void *) data; } */ *uap = v; register struct vnode *vp; register struct mount *mp; diff --git a/sys/miscfs/fdesc/fdesc_vfsops.c b/sys/miscfs/fdesc/fdesc_vfsops.c index a919fe2cb4a..d4079efa31a 100644 --- a/sys/miscfs/fdesc/fdesc_vfsops.c +++ b/sys/miscfs/fdesc/fdesc_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdesc_vfsops.c,v 1.8 2000/02/07 04:57:16 assar Exp $ */ +/* $OpenBSD: fdesc_vfsops.c,v 1.9 2001/02/20 01:50:09 assar Exp $ */ /* $NetBSD: fdesc_vfsops.c,v 1.21 1996/02/09 22:40:07 christos Exp $ */ /* @@ -58,7 +58,7 @@ #include <sys/malloc.h> #include <miscfs/fdesc/fdesc.h> -int fdesc_mount __P((struct mount *, const char *, caddr_t, +int fdesc_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int fdesc_start __P((struct mount *, int, struct proc *)); int fdesc_unmount __P((struct mount *, int, struct proc *)); @@ -78,7 +78,7 @@ int fdesc_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { diff --git a/sys/miscfs/kernfs/kernfs_vfsops.c b/sys/miscfs/kernfs/kernfs_vfsops.c index 6693d43f09b..96713bbc6f1 100644 --- a/sys/miscfs/kernfs/kernfs_vfsops.c +++ b/sys/miscfs/kernfs/kernfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kernfs_vfsops.c,v 1.13 2000/02/07 04:57:16 assar Exp $ */ +/* $OpenBSD: kernfs_vfsops.c,v 1.14 2001/02/20 01:50:09 assar Exp $ */ /* $NetBSD: kernfs_vfsops.c,v 1.26 1996/04/22 01:42:27 christos Exp $ */ /* @@ -67,7 +67,7 @@ dev_t rrootdev = NODEV; int kernfs_init __P((struct vfsconf *)); void kernfs_get_rrootdev __P((void)); -int kernfs_mount __P((struct mount *, const char *, caddr_t, struct nameidata *, +int kernfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int kernfs_start __P((struct mount *, int, struct proc *)); int kernfs_unmount __P((struct mount *, int, struct proc *)); @@ -112,7 +112,7 @@ int kernfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { diff --git a/sys/miscfs/nullfs/null_vfsops.c b/sys/miscfs/nullfs/null_vfsops.c index 4c51b51a4b0..71f192b0be8 100644 --- a/sys/miscfs/nullfs/null_vfsops.c +++ b/sys/miscfs/nullfs/null_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: null_vfsops.c,v 1.11 2000/02/07 04:57:16 assar Exp $ */ +/* $OpenBSD: null_vfsops.c,v 1.12 2001/02/20 01:50:10 assar Exp $ */ /* $NetBSD: null_vfsops.c,v 1.11 1996/05/10 22:50:56 jtk Exp $ */ /* @@ -57,7 +57,7 @@ #include <sys/malloc.h> #include <miscfs/nullfs/null.h> -int nullfs_mount __P((struct mount *, const char *, caddr_t, +int nullfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int nullfs_start __P((struct mount *, int, struct proc *)); int nullfs_unmount __P((struct mount *, int, struct proc *)); @@ -76,7 +76,7 @@ int nullfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -102,7 +102,7 @@ nullfs_mount(mp, path, data, ndp, p) /* * Get argument */ - error = copyin(data, (caddr_t)&args, sizeof(struct null_args)); + error = copyin(data, &args, sizeof(struct null_args)); if (error) return (error); diff --git a/sys/miscfs/portal/portal_vfsops.c b/sys/miscfs/portal/portal_vfsops.c index 2211aa0e903..a5beda20981 100644 --- a/sys/miscfs/portal/portal_vfsops.c +++ b/sys/miscfs/portal/portal_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: portal_vfsops.c,v 1.8 2000/02/07 04:57:16 assar Exp $ */ +/* $OpenBSD: portal_vfsops.c,v 1.9 2001/02/20 01:50:10 assar Exp $ */ /* $NetBSD: portal_vfsops.c,v 1.14 1996/02/09 22:40:41 christos Exp $ */ /* @@ -65,7 +65,7 @@ #define portal_init ((int (*) __P((struct vfsconf *)))nullop) -int portal_mount __P((struct mount *, const char *, caddr_t, +int portal_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int portal_start __P((struct mount *, int, struct proc *)); int portal_unmount __P((struct mount *, int, struct proc *)); @@ -80,7 +80,7 @@ int portal_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -98,7 +98,7 @@ portal_mount(mp, path, data, ndp, p) if (mp->mnt_flag & MNT_UPDATE) return (EOPNOTSUPP); - error = copyin(data, (caddr_t) &args, sizeof(struct portal_args)); + error = copyin(data, &args, sizeof(struct portal_args)); if (error) return (error); diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c index 5e997b87abf..287138795e0 100644 --- a/sys/miscfs/procfs/procfs_vfsops.c +++ b/sys/miscfs/procfs/procfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procfs_vfsops.c,v 1.11 2000/02/07 04:57:16 assar Exp $ */ +/* $OpenBSD: procfs_vfsops.c,v 1.12 2001/02/20 01:50:10 assar Exp $ */ /* $NetBSD: procfs_vfsops.c,v 1.25 1996/02/09 22:40:53 christos Exp $ */ /* @@ -61,7 +61,7 @@ #include <uvm/uvm_extern.h> #endif -int procfs_mount __P((struct mount *, const char *, caddr_t, +int procfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int procfs_start __P((struct mount *, int, struct proc *)); int procfs_unmount __P((struct mount *, int, struct proc *)); @@ -76,7 +76,7 @@ int procfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { diff --git a/sys/miscfs/tcfs/tcfs_vfsops.c b/sys/miscfs/tcfs/tcfs_vfsops.c index ecedf4cd3c3..525f0bc6a5e 100644 --- a/sys/miscfs/tcfs/tcfs_vfsops.c +++ b/sys/miscfs/tcfs/tcfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcfs_vfsops.c,v 1.3 2000/06/17 20:25:55 provos Exp $ */ +/* $OpenBSD: tcfs_vfsops.c,v 1.4 2001/02/20 01:50:10 assar Exp $ */ /* * Copyright 2000 The TCFS Project at http://tcfs.dia.unisa.it/ * All rights reserved. @@ -36,7 +36,7 @@ #include <sys/malloc.h> #include <miscfs/tcfs/tcfs.h> -int tcfs_mount __P((struct mount *, const char *, caddr_t, +int tcfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int tcfs_start __P((struct mount *, int, struct proc *)); int tcfs_unmount __P((struct mount *, int, struct proc *)); @@ -54,7 +54,7 @@ int tcfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -73,7 +73,7 @@ tcfs_mount(mp, path, data, ndp, p) /* * Get argument */ - error = copyin(data, (caddr_t)&args, sizeof(struct tcfs_args)); + error = copyin(data, &args, sizeof(struct tcfs_args)); if (error) return (error); diff --git a/sys/miscfs/umapfs/umap_vfsops.c b/sys/miscfs/umapfs/umap_vfsops.c index bcbeed4a249..fc22f8020b7 100644 --- a/sys/miscfs/umapfs/umap_vfsops.c +++ b/sys/miscfs/umapfs/umap_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umap_vfsops.c,v 1.15 2000/02/07 04:57:17 assar Exp $ */ +/* $OpenBSD: umap_vfsops.c,v 1.16 2001/02/20 01:50:10 assar Exp $ */ /* $NetBSD: umap_vfsops.c,v 1.9 1996/02/09 22:41:05 christos Exp $ */ /* @@ -56,7 +56,7 @@ #include <sys/malloc.h> #include <miscfs/umapfs/umap.h> -int umapfs_mount __P((struct mount *, const char *, caddr_t, +int umapfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int umapfs_start __P((struct mount *, int, struct proc *)); int umapfs_unmount __P((struct mount *, int, struct proc *)); @@ -76,7 +76,7 @@ int umapfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -109,7 +109,7 @@ umapfs_mount(mp, path, data, ndp, p) /* * Get argument */ - error = copyin(data, (caddr_t)&args, sizeof(struct umap_args)); + error = copyin(data, &args, sizeof(struct umap_args)); if (error) return (error); diff --git a/sys/miscfs/union/union_vfsops.c b/sys/miscfs/union/union_vfsops.c index fd155de5eb7..595abfa24dc 100644 --- a/sys/miscfs/union/union_vfsops.c +++ b/sys/miscfs/union/union_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: union_vfsops.c,v 1.10 2000/02/07 04:57:17 assar Exp $ */ +/* $OpenBSD: union_vfsops.c,v 1.11 2001/02/20 01:50:11 assar Exp $ */ /* $NetBSD: union_vfsops.c,v 1.10 1995/06/18 14:47:47 cgd Exp $ */ /* @@ -59,7 +59,7 @@ #include <miscfs/union/union.h> -int union_mount __P((struct mount *, const char *, caddr_t, struct nameidata *, +int union_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int union_start __P((struct mount *, int, struct proc *)); int union_unmount __P((struct mount *, int, struct proc *)); @@ -73,7 +73,7 @@ int union_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -107,7 +107,7 @@ union_mount(mp, path, data, ndp, p) /* * Get argument */ - error = copyin(data, (caddr_t)&args, sizeof(struct union_args)); + error = copyin(data, &args, sizeof(struct union_args)); if (error) goto bad; diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c index b2706b8f00c..ae593012563 100644 --- a/sys/msdosfs/msdosfs_vfsops.c +++ b/sys/msdosfs/msdosfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_vfsops.c,v 1.21 2001/02/07 17:51:48 mickey Exp $ */ +/* $OpenBSD: msdosfs_vfsops.c,v 1.22 2001/02/20 01:50:11 assar Exp $ */ /* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */ /*- @@ -70,7 +70,7 @@ #include <msdosfs/msdosfsmount.h> #include <msdosfs/fat.h> -int msdosfs_mount __P((struct mount *, const char *, caddr_t, struct nameidata *, +int msdosfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int msdosfs_start __P((struct mount *, int, struct proc *)); int msdosfs_unmount __P((struct mount *, int, struct proc *)); @@ -94,7 +94,7 @@ int msdosfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -106,7 +106,7 @@ msdosfs_mount(mp, path, data, ndp, p) int error, flags; mode_t accessmode; - error = copyin(data, (caddr_t)&args, sizeof(struct msdosfs_args)); + error = copyin(data, &args, sizeof(struct msdosfs_args)); if (error) return (error); /* diff --git a/sys/msdosfs/msdosfsmount.h b/sys/msdosfs/msdosfsmount.h index c4fc6c08c3e..8a0b32e5ea2 100644 --- a/sys/msdosfs/msdosfsmount.h +++ b/sys/msdosfs/msdosfsmount.h @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfsmount.h,v 1.11 2000/02/07 04:57:17 assar Exp $ */ +/* $OpenBSD: msdosfsmount.h,v 1.12 2001/02/20 01:50:11 assar Exp $ */ /* $NetBSD: msdosfsmount.h,v 1.16 1997/10/17 11:24:24 ws Exp $ */ /*- @@ -198,7 +198,7 @@ struct msdosfsmount { /* * Prototypes for MSDOSFS virtual filesystem operations */ -int msdosfs_mount __P((struct mount *, const char *, caddr_t, struct nameidata *, struct proc *)); +int msdosfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int msdosfs_start __P((struct mount *, int, struct proc *)); int msdosfs_unmount __P((struct mount *, int, struct proc *)); int msdosfs_root __P((struct mount *, struct vnode **)); diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index 9b4ce097747..3640ed142e4 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vfsops.c,v 1.31 2000/05/19 16:36:04 mickey Exp $ */ +/* $OpenBSD: nfs_vfsops.c,v 1.32 2001/02/20 01:50:11 assar Exp $ */ /* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */ /* @@ -601,7 +601,7 @@ int nfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -613,7 +613,7 @@ nfs_mount(mp, path, data, ndp, p) size_t len; u_char nfh[NFSX_V3FHMAX]; - error = copyin (data, (caddr_t)&args, sizeof (args.version)); + error = copyin (data, &args, sizeof (args.version)); if (error) return (error); if (args.version == 3) { diff --git a/sys/nfs/nfsmount.h b/sys/nfs/nfsmount.h index 847aa753f1a..6713c6a9f6f 100644 --- a/sys/nfs/nfsmount.h +++ b/sys/nfs/nfsmount.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsmount.h,v 1.7 2000/02/07 04:57:17 assar Exp $ */ +/* $OpenBSD: nfsmount.h,v 1.8 2001/02/20 01:50:11 assar Exp $ */ /* $NetBSD: nfsmount.h,v 1.10 1996/02/18 11:54:03 fvdl Exp $ */ /* @@ -101,7 +101,7 @@ struct nfsmount { /* * Prototypes for NFS mount operations */ -int nfs_mount __P((struct mount *mp, const char *path, caddr_t data, +int nfs_mount __P((struct mount *mp, const char *path, void *data, struct nameidata *ndp, struct proc *p)); int mountnfs __P((struct nfs_args *argp, struct mount *mp, struct mbuf *nam, char *pth, char *hst, struct vnode **vpp)); diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 451817c8483..1e210a7c63c 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.h,v 1.37 2000/06/17 17:16:04 provos Exp $ */ +/* $OpenBSD: mount.h,v 1.38 2001/02/20 01:50:11 assar Exp $ */ /* $NetBSD: mount.h,v 1.48 1996/02/18 11:55:47 fvdl Exp $ */ /* @@ -448,7 +448,8 @@ extern int maxvfsconf; /* highest defined filesystem type */ extern struct vfsconf *vfsconf; /* head of list of filesystem types */ struct vfsops { - int (*vfs_mount) __P((struct mount *mp, const char *path, caddr_t data, + int (*vfs_mount) __P((struct mount *mp, const char *path, + void *data, struct nameidata *ndp, struct proc *p)); int (*vfs_start) __P((struct mount *mp, int flags, struct proc *p)); diff --git a/sys/ufs/ext2fs/ext2fs_extern.h b/sys/ufs/ext2fs/ext2fs_extern.h index 386399dba4e..9f79e9d8a3b 100644 --- a/sys/ufs/ext2fs/ext2fs_extern.h +++ b/sys/ufs/ext2fs/ext2fs_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_extern.h,v 1.7 2000/04/26 23:24:40 jasoni Exp $ */ +/* $OpenBSD: ext2fs_extern.h,v 1.8 2001/02/20 01:50:12 assar Exp $ */ /* $NetBSD: ext2fs_extern.h,v 1.1 1997/06/11 09:33:55 bouyer Exp $ */ /*- @@ -103,7 +103,7 @@ void ext2fs_checkoverlap __P((struct buf *, struct inode *)); /* ext2fs_vfsops.c */ int ext2fs_mountroot __P((void)); -int ext2fs_mount __P((struct mount *, const char *, caddr_t, +int ext2fs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int ext2fs_reload __P((struct mount *, struct ucred *, struct proc *)); int ext2fs_mountfs __P((struct vnode *, struct mount *, struct proc *)); diff --git a/sys/ufs/ext2fs/ext2fs_vfsops.c b/sys/ufs/ext2fs/ext2fs_vfsops.c index 27aa5357325..885e65f5183 100644 --- a/sys/ufs/ext2fs/ext2fs_vfsops.c +++ b/sys/ufs/ext2fs/ext2fs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_vfsops.c,v 1.12 2000/04/26 23:24:41 jasoni Exp $ */ +/* $OpenBSD: ext2fs_vfsops.c,v 1.13 2001/02/20 01:50:12 assar Exp $ */ /* $NetBSD: ext2fs_vfsops.c,v 1.1 1997/06/11 09:34:07 bouyer Exp $ */ /* @@ -167,7 +167,7 @@ int ext2fs_mount(mp, path, data, ndp, p) register struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { diff --git a/sys/ufs/ffs/ffs_extern.h b/sys/ufs/ffs/ffs_extern.h index eaac2f7c0ab..44b77883d07 100644 --- a/sys/ufs/ffs/ffs_extern.h +++ b/sys/ufs/ffs/ffs_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_extern.h,v 1.9 2000/02/07 04:57:18 assar Exp $ */ +/* $OpenBSD: ffs_extern.h,v 1.10 2001/02/20 01:50:12 assar Exp $ */ /* $NetBSD: ffs_extern.h,v 1.4 1996/02/09 22:22:22 christos Exp $ */ /*- @@ -105,7 +105,7 @@ void ffs_setblock __P((struct fs *, unsigned char *, daddr_t)); /* ffs_vfsops.c */ int ffs_mountroot __P((void)); -int ffs_mount __P((struct mount *, const char *, caddr_t, struct nameidata *, +int ffs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int ffs_reload __P((struct mount *, struct ucred *, struct proc *)); int ffs_mountfs __P((struct vnode *, struct mount *, struct proc *)); diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 59c93f6e4c2..2db4c26a878 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.28 2000/02/07 04:57:18 assar Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.29 2001/02/20 01:50:12 assar Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -138,7 +138,7 @@ int ffs_mount(mp, path, data, ndp, p) register struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -151,7 +151,7 @@ ffs_mount(mp, path, data, ndp, p) mode_t accessmode; size_t size; - error = copyin(data, (caddr_t)&args, sizeof (struct ufs_args)); + error = copyin(data, &args, sizeof (struct ufs_args)); if (error) return (error); /* diff --git a/sys/ufs/lfs/lfs_extern.h b/sys/ufs/lfs/lfs_extern.h index 91ccf8dfe8a..d57add72a46 100644 --- a/sys/ufs/lfs/lfs_extern.h +++ b/sys/ufs/lfs/lfs_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: lfs_extern.h,v 1.5 2000/02/07 04:57:18 assar Exp $ */ +/* $OpenBSD: lfs_extern.h,v 1.6 2001/02/20 01:50:12 assar Exp $ */ /* $NetBSD: lfs_extern.h,v 1.5 1996/02/12 15:20:12 christos Exp $ */ /*- @@ -113,7 +113,7 @@ struct buf *lfs_fakebuf __P((struct vnode *, int, size_t, caddr_t)); /* lfs_vfsops.c */ int lfs_mountroot __P((void)); -int lfs_mount __P((struct mount *, const char *, caddr_t, struct nameidata *, struct proc *)); +int lfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int lfs_mountfs __P((struct vnode *, struct mount *, struct proc *)); int lfs_unmount __P((struct mount *, int, struct proc *)); int lfs_statfs __P((struct mount *, struct statfs *, struct proc *)); diff --git a/sys/ufs/lfs/lfs_vfsops.c b/sys/ufs/lfs/lfs_vfsops.c index 148b9cb9502..825129518c6 100644 --- a/sys/ufs/lfs/lfs_vfsops.c +++ b/sys/ufs/lfs/lfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lfs_vfsops.c,v 1.12 2000/02/07 04:57:18 assar Exp $ */ +/* $OpenBSD: lfs_vfsops.c,v 1.13 2001/02/20 01:50:12 assar Exp $ */ /* $NetBSD: lfs_vfsops.c,v 1.11 1996/03/25 12:53:35 pk Exp $ */ /* @@ -96,7 +96,7 @@ int lfs_mount(mp, path, data, ndp, p) register struct mount *mp; char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { diff --git a/sys/ufs/mfs/mfs_extern.h b/sys/ufs/mfs/mfs_extern.h index 071779b2be7..6dfe47b20ad 100644 --- a/sys/ufs/mfs/mfs_extern.h +++ b/sys/ufs/mfs/mfs_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mfs_extern.h,v 1.8 2000/02/07 04:57:18 assar Exp $ */ +/* $OpenBSD: mfs_extern.h,v 1.9 2001/02/20 01:50:12 assar Exp $ */ /* $NetBSD: mfs_extern.h,v 1.4 1996/02/09 22:31:27 christos Exp $ */ /*- @@ -50,7 +50,7 @@ __BEGIN_DECLS /* mfs_vfsops.c */ int mfs_mountroot __P((void)); int mfs_initminiroot __P((caddr_t)); -int mfs_mount __P((struct mount *, const char *, caddr_t, +int mfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int mfs_start __P((struct mount *, int, struct proc *)); int mfs_statfs __P((struct mount *, struct statfs *, struct proc *)); diff --git a/sys/ufs/mfs/mfs_vfsops.c b/sys/ufs/mfs/mfs_vfsops.c index 2be4916d8f3..06538ead926 100644 --- a/sys/ufs/mfs/mfs_vfsops.c +++ b/sys/ufs/mfs/mfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfs_vfsops.c,v 1.12 2000/02/07 04:57:18 assar Exp $ */ +/* $OpenBSD: mfs_vfsops.c,v 1.13 2001/02/20 01:50:12 assar Exp $ */ /* $NetBSD: mfs_vfsops.c,v 1.10 1996/02/09 22:31:28 christos Exp $ */ /* @@ -167,7 +167,7 @@ int mfs_mount(mp, path, data, ndp, p) register struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { |