Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2008 00:50:58 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 147036 for review
Message-ID:  <200808100050.m7A0owTW092915@repoman.freebsd.org>

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

Change 147036 by ed@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);



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