summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs
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/smbfs
parent3dcb842f61995b0a03d7040d6ada88633b0d0e11 (diff)
downloadFreeBSD-src-3a60df401cca43d4246e5fbef9264acec14572a4.zip
FreeBSD-src-3a60df401cca43d4246e5fbef9264acec14572a4.tar.gz
Get rid of qaddr_t.
Requested by: bde
Diffstat (limited to 'sys/fs/smbfs')
-rw-r--r--sys/fs/smbfs/smbfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c
index 182ba2b..3b73ea3 100644
--- a/sys/fs/smbfs/smbfs_vfsops.c
+++ b/sys/fs/smbfs/smbfs_vfsops.c
@@ -188,7 +188,7 @@ smbfs_mount(struct mount *mp, struct thread *td)
goto bad;
}
bzero(smp, sizeof(*smp));
- mp->mnt_data = (qaddr_t)smp;
+ mp->mnt_data = smp;
smp->sm_hash = hashinit(desiredvnodes, M_SMBFSHASH, &smp->sm_hashlen);
if (smp->sm_hash == NULL)
goto bad;
@@ -308,7 +308,7 @@ smbfs_unmount(struct mount *mp, int mntflags, struct thread *td)
if (error)
return error;
smb_share_put(smp->sm_share, &scred);
- mp->mnt_data = (qaddr_t)0;
+ mp->mnt_data = NULL;
if (smp->sm_hash)
free(smp->sm_hash, M_SMBFSHASH);
OpenPOWER on IntegriCloud