diff options
author | Bruce Evans <bde@FreeBSD.org> | 1999-08-23 21:07:13 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1999-08-23 21:07:13 +0000 |
commit | 939cb7521a6aec9299f65a8371ff66e5c7f2e403 (patch) | |
tree | 0f93a80aab88a598df53b8d02c468f0b4b797ef1 /sys/isofs | |
parent | 0b770227520b9e96ee3cbf85ec887cad140b96e2 (diff) | |
download | src-939cb7521a6aec9299f65a8371ff66e5c7f2e403.tar.gz src-939cb7521a6aec9299f65a8371ff66e5c7f2e403.zip |
Initialise fsids with (user) device numbers again. Bitrot when dev_t's
were changed to pointers was obscured by casting dev_t's to longs.
fsids haven't even been comprised of longs since the Lite2 merge.
Notes
Notes:
svn path=/head/; revision=50256
Diffstat (limited to 'sys/isofs')
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 3e9ada1e4080..2e007dbf73d9 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95 - * $Id: cd9660_vfsops.c,v 1.57 1999/08/08 18:42:45 phk Exp $ + * $Id: cd9660_vfsops.c,v 1.58 1999/08/13 10:29:18 phk Exp $ */ #include <sys/param.h> @@ -436,7 +436,7 @@ iso_mountfs(devvp, mp, p, argp) pribp = NULL; mp->mnt_data = (qaddr_t)isomp; - mp->mnt_stat.f_fsid.val[0] = (long)dev; + mp->mnt_stat.f_fsid.val[0] = dev2udev(dev); mp->mnt_stat.f_fsid.val[1] = mp->mnt_vfc->vfc_typenum; mp->mnt_maxsymlinklen = 0; mp->mnt_flag |= MNT_LOCAL; |