diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 1998-09-14 19:56:42 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 1998-09-14 19:56:42 +0000 |
| commit | d024c955995756f65099bc2a8cc67d5366591e28 (patch) | |
| tree | 481b5cac57a2a1d23d188ccb6d2e2922e4d27477 /sys/isofs | |
| parent | 355150a48914ca6f70a2831a61ad8523048bbcad (diff) | |
Notes
Diffstat (limited to 'sys/isofs')
| -rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 293fd9688d731..fb877ca1a412a 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.42 1998/09/07 07:20:30 guido Exp $ + * $Id: cd9660_vfsops.c,v 1.43 1998/09/07 13:17:00 bde Exp $ */ #include <sys/param.h> @@ -143,10 +143,6 @@ iso_get_ssector(dev, p) #ifndef VFS_LKM /* mount root makes no sense to an LKM */ -#include "opt_devfs.h" /* for SLICE */ -#ifdef SLICE -extern struct vnode *root_device_vnode; -#endif static int iso_mountroot __P((struct mount *mp, struct proc *p)); static int @@ -157,18 +153,10 @@ iso_mountroot(mp, p) struct iso_args args; int error; -#ifdef SLICE - rootvp = root_device_vnode; - if (rootvp == NULL) { - printf("cd9660_mountroot: rootvp not set"); - return (EINVAL); - } -#else if ((error = bdevvp(rootdev, &rootvp))) { printf("iso_mountroot: can't find rootvp"); return (error); } -#endif args.flags = ISOFSMNT_ROOT; args.ssector = iso_get_ssector(rootdev, p); if (bootverbose) |
