summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs/ntfs_vfsops.c
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/ntfs/ntfs_vfsops.c
parent3dcb842f61995b0a03d7040d6ada88633b0d0e11 (diff)
downloadFreeBSD-src-3a60df401cca43d4246e5fbef9264acec14572a4.zip
FreeBSD-src-3a60df401cca43d4246e5fbef9264acec14572a4.tar.gz
Get rid of qaddr_t.
Requested by: bde
Diffstat (limited to 'sys/fs/ntfs/ntfs_vfsops.c')
-rw-r--r--sys/fs/ntfs/ntfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c
index 9d1f485..10ad461 100644
--- a/sys/fs/ntfs/ntfs_vfsops.c
+++ b/sys/fs/ntfs/ntfs_vfsops.c
@@ -353,7 +353,7 @@ ntfs_mountfs(devvp, mp, td)
else
ntfs_u28_init(ntmp, ntmp->ntm_82u, cs_local, cs_ntfs);
- mp->mnt_data = (qaddr_t)ntmp;
+ mp->mnt_data = ntmp;
dprintf(("ntfs_mountfs(): case-%s,%s uid: %d, gid: %d, mode: %o\n",
(ntmp->ntm_flag & NTFS_MFLAG_CASEINS)?"insens.":"sens.",
@@ -521,7 +521,7 @@ ntfs_unmount(
dprintf(("ntfs_umount: freeing memory...\n"));
ntfs_u28_uninit(ntmp);
ntfs_82u_uninit(ntmp);
- mp->mnt_data = (qaddr_t)0;
+ mp->mnt_data = NULL;
MNT_ILOCK(mp);
mp->mnt_flag &= ~MNT_LOCAL;
MNT_IUNLOCK(mp);
OpenPOWER on IntegriCloud