diff options
author | jeff <jeff@FreeBSD.org> | 2005-05-01 00:59:55 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-05-01 00:59:55 +0000 |
commit | 22004a9723c890f7447e916bc529b7710c7be59f (patch) | |
tree | 8526a6b37f451127e1c61c15b2ad20835c622c2d /sys | |
parent | 1bc61f8f0f63063c86ca6eac0955422e1c74c448 (diff) | |
download | FreeBSD-src-22004a9723c890f7447e916bc529b7710c7be59f.zip FreeBSD-src-22004a9723c890f7447e916bc529b7710c7be59f.tar.gz |
- Remove an old splcam hack.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_mount.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 0f800c4..7a3764e 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -1278,7 +1278,6 @@ vfs_mountroot_try(const char *mountfrom) char *vfsname, *path; int error; char patt[32]; - int s; vfsname = NULL; path = NULL; @@ -1287,10 +1286,7 @@ vfs_mountroot_try(const char *mountfrom) if (mountfrom == NULL) return (error); /* don't complain */ - - s = splcam(); /* Overkill, but annoying without it */ printf("Trying to mount root from %s\n", mountfrom); - splx(s); /* parse vfs name and path */ vfsname = malloc(MFSNAMELEN, M_MOUNT, M_WAITOK); |