summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2005-12-14 00:49:52 +0000
committerdes <des@FreeBSD.org>2005-12-14 00:49:52 +0000
commit5d3c44687b2e85f65228a2386d84f916ff779427 (patch)
treeedb405f1b2060efab8f9d986b17763a5aceffb7f /sys/fs
parentd40bda1cd272e7d30f8998f9f75273296ea1c654 (diff)
downloadFreeBSD-src-5d3c44687b2e85f65228a2386d84f916ff779427.zip
FreeBSD-src-5d3c44687b2e85f65228a2386d84f916ff779427.tar.gz
Eradicate caddr_t from the VFS API.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/nullfs/null_vfsops.c2
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c4
-rw-r--r--sys/fs/smbfs/smbfs_vfsops.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index bb5e8b7..28d24e1 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -259,7 +259,7 @@ nullfs_quotactl(mp, cmd, uid, arg, td)
struct mount *mp;
int cmd;
uid_t uid;
- caddr_t arg;
+ void *arg;
struct thread *td;
{
return VFS_QUOTACTL(MOUNTTONULLMOUNT(mp)->nullm_vfs, cmd, uid, arg, td);
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index 4a10c2e..e1e4997 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -135,7 +135,7 @@ static int nwfs_cmount(struct mntarg *ma, void *data, int flags,
struct nwfs_args args; /* will hold data from mount request */
int error;
- error = copyin(data, (caddr_t)&args, sizeof(struct nwfs_args));
+ error = copyin(data, &args, sizeof(struct nwfs_args));
if (error)
return (error);
@@ -373,7 +373,7 @@ nwfs_quotactl(mp, cmd, uid, arg, td)
struct mount *mp;
int cmd;
uid_t uid;
- caddr_t arg;
+ void *arg;
struct thread *td;
{
NCPVODEBUG("return EOPNOTSUPP\n");
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c
index aa9a8e1..f64c125 100644
--- a/sys/fs/smbfs/smbfs_vfsops.c
+++ b/sys/fs/smbfs/smbfs_vfsops.c
@@ -108,7 +108,7 @@ smbfs_cmount(struct mntarg *ma, void * data, int flags, struct thread *td)
struct smbfs_args args;
int error;
- error = copyin(data, (caddr_t)&args, sizeof(struct smbfs_args));
+ error = copyin(data, &args, sizeof(struct smbfs_args));
if (error)
return error;
@@ -366,7 +366,7 @@ smbfs_quotactl(mp, cmd, uid, arg, td)
struct mount *mp;
int cmd;
uid_t uid;
- caddr_t arg;
+ void *arg;
struct thread *td;
{
SMBVDEBUG("return EOPNOTSUPP\n");
OpenPOWER on IntegriCloud