PERFORCE change 147036 for review

Ed Schouten ed at FreeBSD.org
Sun Aug 10 00:50:59 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=147036

Change 147036 by ed at ed_dull on 2008/08/10 00:50:34

	Small bug that got introduced when moving the pts(4) driver
	around:
	
	- The unr pool now has its own lock. pts_lock is gone.

Affected files ...

.. //depot/projects/mpsafetty/sys/kern/tty_pts.c#6 edit

Differences ...

==== //depot/projects/mpsafetty/sys/kern/tty_pts.c#6 (text+ko) ====

@@ -510,7 +510,7 @@
 		return (EAGAIN);
 
 	/* Try to allocate a new pts unit number */
-	unit = alloc_unrl(pts_pool);
+	unit = alloc_unr(pts_pool);
 	if (unit < 0) {
 		chgptscnt(uid, -1, 0);
 		return (EAGAIN);


More information about the p4-projects mailing list