From owner-svn-src-all@FreeBSD.ORG Sat Feb 22 04:28:49 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF570B46; Sat, 22 Feb 2014 04:28:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BA7E01C8E; Sat, 22 Feb 2014 04:28:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1M4Sn6w041894; Sat, 22 Feb 2014 04:28:49 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1M4SnAO041893; Sat, 22 Feb 2014 04:28:49 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201402220428.s1M4SnAO041893@svn.freebsd.org> From: Bryan Drewery Date: Sat, 22 Feb 2014 04:28:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262328 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2014 04:28:49 -0000 Author: bdrewery Date: Sat Feb 22 04:28:49 2014 New Revision: 262328 URL: http://svnweb.freebsd.org/changeset/base/262328 Log: Fix style of comment blocks. Reported by: peter Approved by: bapt (mentor, implicit) X-MFC with: r262006 Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c ============================================================================== --- head/sys/kern/kern_descrip.c Sat Feb 22 03:36:45 2014 (r262327) +++ head/sys/kern/kern_descrip.c Sat Feb 22 04:28:49 2014 (r262328) @@ -1533,9 +1533,11 @@ fdgrowtable(struct filedesc *fdp, int nf memcpy(ntable, otable, onfiles * sizeof(*otable)); fdp->fd_ofiles = ntable; - /* Allocate a new map only if the old is not large enough. It will + /* + * Allocate a new map only if the old is not large enough. It will * grow at a slower rate than the table as it can map more - * entries than the table can hold. */ + * entries than the table can hold. + */ if (NDSLOTS(nnfiles) > NDSLOTS(onfiles)) { nmap = malloc(NDSLOTS(nnfiles) * NDSLOTSIZE, M_FILEDESC, M_ZERO | M_WAITOK); @@ -1568,9 +1570,11 @@ fdgrowtable(struct filedesc *fdp, int nf ft->ft_table = otable; SLIST_INSERT_HEAD(&fdp0->fd_free, ft, ft_next); } - /* The map does not have the same possibility of threads still + /* + * The map does not have the same possibility of threads still * holding references to it. So always free it as long as it - * does not reference the original static allocation. */ + * does not reference the original static allocation. + */ if (NDSLOTS(onfiles) > NDSLOTS(NDFILE)) free(omap, M_FILEDESC); }