Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2016 01:54:17 +0000 (UTC)
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r301906 - stable/10/sys/kern
Message-ID:  <201606150154.u5F1sH8F022290@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jamie
Date: Wed Jun 15 01:54:17 2016
New Revision: 301906
URL: https://svnweb.freebsd.org/changeset/base/301906

Log:
  MFC r301737:
  
    Remove a comment that was part of copied code, and is misleading in
    the new location.

Modified:
  stable/10/sys/kern/sysv_msg.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/kern/sysv_msg.c
==============================================================================
--- stable/10/sys/kern/sysv_msg.c	Wed Jun 15 01:49:01 2016	(r301905)
+++ stable/10/sys/kern/sysv_msg.c	Wed Jun 15 01:54:17 2016	(r301906)
@@ -326,12 +326,6 @@ msgunload()
 #endif
 
 	for (msqid = 0; msqid < msginfo.msgmni; msqid++) {
-		/*
-		 * Look for an unallocated and unlocked msqid_ds.
-		 * msqid_ds's can be locked by msgsnd or msgrcv while
-		 * they are copying the message in/out.  We can't
-		 * re-use the entry until they release it.
-		 */
 		msqkptr = &msqids[msqid];
 		if (msqkptr->u.msg_qbytes != 0 ||
 		    (msqkptr->u.msg_perm.mode & MSG_LOCKED) != 0)



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