summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-09-07 16:21:11 +0000
committerbde <bde@FreeBSD.org>1997-09-07 16:21:11 +0000
commitbcade9a9035125a9249e03bbdaccb94f1d84ffc7 (patch)
treee467faa382879278c2ee894344a80c6c0ef297b5 /sys/fs
parentcaa2e7e2da294fd9afa91fec5201e2e7cd44ba9b (diff)
downloadFreeBSD-src-bcade9a9035125a9249e03bbdaccb94f1d84ffc7.zip
FreeBSD-src-bcade9a9035125a9249e03bbdaccb94f1d84ffc7.tar.gz
Removed yet more vestiges of config-time swap configuration and/or
cleaned up nearby cruft.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index a0cea9d..c652ab1 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/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.26 1997/08/02 14:31:20 bde Exp $
+ * $Id: cd9660_vfsops.c,v 1.27 1997/08/16 19:15:00 wollman Exp $
*/
#include <sys/param.h>
@@ -148,15 +148,10 @@ iso_mountroot(mp, p)
struct iso_args args;
int error;
- /*
- * Get vnode for rootdev.
- */
- if ((error = bdevvp(swapdev, &swapdev_vp)) ||
- (error = bdevvp(rootdev, &rootvp))) {
- printf("iso_mountroot: can't setup bdevvp's");
+ if ((error = bdevvp(rootdev, &rootvp))) {
+ printf("iso_mountroot: can't find rootvp");
return (error);
}
-
args.flags = ISOFSMNT_ROOT;
args.ssector = iso_get_ssector(rootdev, p);
if (bootverbose)
OpenPOWER on IntegriCloud