Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2006 14:04:29 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 103443 for review
Message-ID:  <200608081404.k78E4THX000441@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103443

Change 103443 by rdivacky@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);
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608081404.k78E4THX000441>