diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-02-22 04:28:49 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-02-22 04:28:49 +0000 |
commit | e6b40423035d77338ab4182e05eee3fb8a20ef2e (patch) | |
tree | 6189a8bcd5e0c00021c8ec214badac4d7031dd7c | |
parent | f59db7212f9c5b0509b3ff2ce41d684ae15adb1e (diff) | |
download | FreeBSD-src-e6b40423035d77338ab4182e05eee3fb8a20ef2e.zip FreeBSD-src-e6b40423035d77338ab4182e05eee3fb8a20ef2e.tar.gz |
Fix style of comment blocks.
Reported by: peter
Approved by: bapt (mentor, implicit)
X-MFC with: r262006
-rw-r--r-- | sys/kern/kern_descrip.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 985a5cf..3cb265a 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -1533,9 +1533,11 @@ fdgrowtable(struct filedesc *fdp, int nfd) 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 nfd) 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); } |