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);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to