svn commit: r262692 - stable/10/sys/kern
Bryan Drewery
bdrewery at FreeBSD.org
Sun Mar 2 16:04:28 UTC 2014
Author: bdrewery
Date: Sun Mar 2 16:04:27 2014
New Revision: 262692
URL: http://svnweb.freebsd.org/changeset/base/262692
Log:
MFC r262005:
Remove redundant memcpy of fd_ofiles in fdgrowtable()
Approved by: bapt (mentor, implicit)
Modified:
stable/10/sys/kern/kern_descrip.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/kern/kern_descrip.c
==============================================================================
--- stable/10/sys/kern/kern_descrip.c Sun Mar 2 15:53:39 2014 (r262691)
+++ stable/10/sys/kern/kern_descrip.c Sun Mar 2 16:04:27 2014 (r262692)
@@ -1538,7 +1538,6 @@ fdgrowtable(struct filedesc *fdp, int nf
memcpy(nmap, omap, NDSLOTS(onfiles) * sizeof(*omap));
/* update the pointers and counters */
- memcpy(ntable, otable, onfiles * sizeof(ntable[0]));
fdp->fd_ofiles = ntable;
fdp->fd_map = nmap;
More information about the svn-src-stable-10
mailing list