diff options
author | bde <bde@FreeBSD.org> | 1999-08-23 21:07:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-08-23 21:07:13 +0000 |
commit | b112e147a149c0400623d7b90ea51c16eda3720f (patch) | |
tree | 54a0e90f5c4d374cb8602fd0dcdbb94c3748949c /sys/isofs/cd9660 | |
parent | a9f46ba20de99dba4788fc06cb53f20217ad205f (diff) | |
download | FreeBSD-src-b112e147a149c0400623d7b90ea51c16eda3720f.zip FreeBSD-src-b112e147a149c0400623d7b90ea51c16eda3720f.tar.gz |
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.
Diffstat (limited to 'sys/isofs/cd9660')
-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 3e9ada1..2e007db 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; |