mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
- Remove an old splcam hack.
This commit is contained in:
parent
5270a2dbe3
commit
194dfed917
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145733
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue