- Remove an old splcam hack.

This commit is contained in:
Jeff Roberson 2005-05-01 00:59:55 +00:00
parent 5270a2dbe3
commit 194dfed917
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145733

View file

@ -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);