PERFORCE change 103443 for review
Roman Divacky
rdivacky at FreeBSD.org
Tue Aug 8 14:04:30 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=103443
Change 103443 by rdivacky at rdivacky_witten on 2006/08/08 14:04:14
Dont EMUL_RUNLOC(&emul_lock) in a case of em_find() returns NULL.
Affected files ...
.. //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_misc.c#7 edit
.. //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#34 edit
Differences ...
==== //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_misc.c#7 (text+ko) ====
@@ -1341,7 +1341,6 @@
#ifdef DEBUG
printf(LMSG("emuldata not found.\n"));
#endif
- EMUL_RUNLOCK(&emul_lock);
return (0);
}
@@ -1362,7 +1361,6 @@
#ifdef DEBUG
printf(LMSG("emuldata not found.\n"));
#endif
- EMUL_RUNLOCK(&emul_lock);
return (0);
}
@@ -1388,7 +1386,6 @@
printf(LMSG("emuldata not found.\n"));
#endif
PROC_UNLOCK(pp);
- EMUL_RUNLOCK(&emul_lock);
return (0);
}
td->td_retval[0] = em->shared->group_pid;
==== //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#34 (text+ko) ====
@@ -1370,7 +1370,6 @@
#ifdef DEBUG
printf(LMSG("we didnt find emuldata for the userreting process.\n"));
#endif
- EMUL_RUNLOCK(&emul_lock);
return (0);
}
More information about the p4-projects
mailing list