diff options
author | alfred <alfred@FreeBSD.org> | 2007-10-16 10:54:55 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2007-10-16 10:54:55 +0000 |
commit | 3a60df401cca43d4246e5fbef9264acec14572a4 (patch) | |
tree | 405d520ed81bd0befd4c9fc4cf2fbf298e9e5105 /sys/fs/smbfs/smbfs_vfsops.c | |
parent | 3dcb842f61995b0a03d7040d6ada88633b0d0e11 (diff) | |
download | FreeBSD-src-3a60df401cca43d4246e5fbef9264acec14572a4.zip FreeBSD-src-3a60df401cca43d4246e5fbef9264acec14572a4.tar.gz |
Get rid of qaddr_t.
Requested by: bde
Diffstat (limited to 'sys/fs/smbfs/smbfs_vfsops.c')
-rw-r--r-- | sys/fs/smbfs/smbfs_vfsops.c | 4 |
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); |