summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2007-10-16 10:54:55 +0000
committeralfred <alfred@FreeBSD.org>2007-10-16 10:54:55 +0000
commit3a60df401cca43d4246e5fbef9264acec14572a4 (patch)
tree405d520ed81bd0befd4c9fc4cf2fbf298e9e5105 /sys/fs/nwfs
parent3dcb842f61995b0a03d7040d6ada88633b0d0e11 (diff)
downloadFreeBSD-src-3a60df401cca43d4246e5fbef9264acec14572a4.zip
FreeBSD-src-3a60df401cca43d4246e5fbef9264acec14572a4.tar.gz
Get rid of qaddr_t.
Requested by: bde
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index aad0b99..dada87d 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -198,7 +198,7 @@ static int nwfs_mount(struct mount *mp, struct thread *td)
error = ENOMEM;
goto bad;
}
- mp->mnt_data = (qaddr_t)nmp;
+ mp->mnt_data = nmp;
nmp->connh = handle;
nmp->n_root = NULL;
nmp->n_id = nwfsid++;
@@ -263,7 +263,7 @@ nwfs_unmount(struct mount *mp, int mntflags, struct thread *td)
if(ncp_conn_free(conn))
ncp_conn_unlock(conn, td);
}
- mp->mnt_data = (qaddr_t)0;
+ mp->mnt_data = NULL;
if (nmp->m.flags & NWFS_MOUNT_HAVE_NLS)
free(nmp->m.nls.to_lower, M_NWFSDATA);
free(nmp, M_NWFSDATA);
OpenPOWER on IntegriCloud