mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Put on asbestos suit and put a splcam() around the 'Mounting root from..'
message to stop it splitting. Every single scsi machine I've seen seems to reliably collide with this and it's rather annoying.
This commit is contained in:
parent
016fc47da3
commit
cfdd238335
2 changed files with 6 additions and 0 deletions
|
|
@ -166,6 +166,7 @@ vfs_mountroot_try(char *mountfrom)
|
|||
char *vfsname, *path;
|
||||
int error;
|
||||
char patt[32];
|
||||
int s;
|
||||
|
||||
vfsname = NULL;
|
||||
path = NULL;
|
||||
|
|
@ -175,7 +176,9 @@ vfs_mountroot_try(char *mountfrom)
|
|||
if (mountfrom == NULL)
|
||||
return(error); /* don't complain */
|
||||
|
||||
s = splcam(); /* Overkill, but annoying without it */
|
||||
printf("Mounting root from %s\n", mountfrom);
|
||||
splx(s);
|
||||
|
||||
/* parse vfs name and path */
|
||||
vfsname = malloc(MFSNAMELEN, M_MOUNT, M_WAITOK);
|
||||
|
|
|
|||
|
|
@ -166,6 +166,7 @@ vfs_mountroot_try(char *mountfrom)
|
|||
char *vfsname, *path;
|
||||
int error;
|
||||
char patt[32];
|
||||
int s;
|
||||
|
||||
vfsname = NULL;
|
||||
path = NULL;
|
||||
|
|
@ -175,7 +176,9 @@ vfs_mountroot_try(char *mountfrom)
|
|||
if (mountfrom == NULL)
|
||||
return(error); /* don't complain */
|
||||
|
||||
s = splcam(); /* Overkill, but annoying without it */
|
||||
printf("Mounting 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