summaryrefslogtreecommitdiffstats
path: root/sys/isofs/cd9660/cd9660_vfsops.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-01-17 20:41:02 +0000
committerpeter <peter@FreeBSD.org>1999-01-17 20:41:02 +0000
commitcb99881fc978223e309dce69a5a0e7ab3eb190d3 (patch)
treed860a8d433ffc520044375d4c60c0dcf5ee038f7 /sys/isofs/cd9660/cd9660_vfsops.c
parenta1afd11da0b182acc5303b95ea4fdc6acd9cf3da (diff)
downloadFreeBSD-src-cb99881fc978223e309dce69a5a0e7ab3eb190d3.zip
FreeBSD-src-cb99881fc978223e309dce69a5a0e7ab3eb190d3.tar.gz
Mountroot could concievably make sense to a KLD though, in the preload
case. I'm not sure the autoconf code is up to it though...
Diffstat (limited to 'sys/isofs/cd9660/cd9660_vfsops.c')
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 18ff3f4..9e661a6 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.45 1998/10/25 19:26:18 bde Exp $
+ * $Id: cd9660_vfsops.c,v 1.46 1998/12/06 11:36:24 jkh Exp $
*/
#include <sys/param.h>
@@ -141,8 +141,6 @@ iso_get_ssector(dev, p)
return ntohl(t.entry.addr.lba);
}
-#ifndef VFS_LKM /* mount root makes no sense to an LKM */
-
static int iso_mountroot __P((struct mount *mp, struct proc *p));
static int
@@ -168,7 +166,6 @@ iso_mountroot(mp, p)
(void)cd9660_statfs(mp, &mp->mnt_stat, p);
return (0);
}
-#endif /* ! VFS_LKM */
/*
* VFS Operations.
@@ -190,13 +187,11 @@ cd9660_mount(mp, path, data, ndp, p)
mode_t accessmode;
struct iso_mnt *imp = 0;
-#ifndef VFS_LKM /* mount root makes no sense to an LKM */
if ((mp->mnt_flag & MNT_ROOTFS) != 0) {
if (bdevsw[major(rootdev)]->d_flags & D_NOCLUSTERR)
mp->mnt_flag |= MNT_NOCLUSTERR;
return (iso_mountroot(mp, p));
}
-#endif /* ! VFS_LKM */
if ((error = copyin(data, (caddr_t)&args, sizeof (struct iso_args))))
return (error);
OpenPOWER on IntegriCloud