PERFORCE change 101591 for review

John Baldwin jhb at FreeBSD.org
Fri Jul 14 19:55:53 UTC 2006


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

Change 101591 by jhb at jhb_mutex on 2006/07/14 19:55:09

	Don't need this.

Affected files ...

.. //depot/projects/smpng/sys/dev/streams/streams.c#24 edit

Differences ...

==== //depot/projects/smpng/sys/dev/streams/streams.c#24 (text+ko) ====

@@ -195,12 +195,9 @@
 	int family;
 	struct proc *p = td->td_proc;
 	
-	PROC_LOCK(p);
 	if (td->td_dupfd >= 0) {
-	  PROC_UNLOCK(p);
 	  return ENODEV;
 	}
-	PROC_UNLOCK(p);
 
 	switch (minor(dev)) {
 	case dev_udp:


More information about the p4-projects mailing list