From 7f4c05b0ebe15803c40ffdba80d471410b35b8c8 Mon Sep 17 00:00:00 2001 From: guenther Date: Sat, 13 Aug 2016 21:28:09 +0000 Subject: [PATCH] Missed a couple qaddr_t casts --- sys/ufs/ext2fs/ext2fs_vfsops.c | 4 ++-- sys/ufs/ffs/ffs_vfsops.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/ufs/ext2fs/ext2fs_vfsops.c b/sys/ufs/ext2fs/ext2fs_vfsops.c index 1e2339cb21a..3defd085d0e 100644 --- a/sys/ufs/ext2fs/ext2fs_vfsops.c +++ b/sys/ufs/ext2fs/ext2fs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_vfsops.c,v 1.94 2016/08/10 07:53:02 natano Exp $ */ +/* $OpenBSD: ext2fs_vfsops.c,v 1.95 2016/08/13 21:28:09 guenther Exp $ */ /* $NetBSD: ext2fs_vfsops.c,v 1.1 1997/06/11 09:34:07 bouyer Exp $ */ /* @@ -583,7 +583,7 @@ ext2fs_mountfs(struct vnode *devvp, struct mount *mp, struct proc *p) ump->um_e2fs->e2fs_fmod = 1; } - mp->mnt_data = (qaddr_t)ump; + mp->mnt_data = ump; mp->mnt_stat.f_fsid.val[0] = (long)dev; mp->mnt_stat.f_fsid.val[1] = mp->mnt_vfc->vfc_typenum; mp->mnt_stat.f_namemax = MAXNAMLEN; diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 5249344fc0a..7fb60f34bb7 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.161 2016/08/10 08:04:57 natano Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.162 2016/08/13 21:28:09 guenther Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -867,7 +867,7 @@ ffs_mountfs(struct vnode *devvp, struct mount *mp, struct proc *p) for (i = 0; i < fs->fs_ncg; i++) *lp++ = fs->fs_contigsumsize; } - mp->mnt_data = (qaddr_t)ump; + mp->mnt_data = ump; mp->mnt_stat.f_fsid.val[0] = (long)dev; /* Use on-disk fsid if it exists, else fake it */ if (fs->fs_id[0] != 0 && fs->fs_id[1] != 0) -- 2.20.1