svn commit: r273111 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Wed Oct 15 01:16:12 UTC 2014
Author: mjg
Date: Wed Oct 15 01:16:11 2014
New Revision: 273111
URL: https://svnweb.freebsd.org/changeset/base/273111
Log:
filedesc: plug 2 assignments to M_ZERO-ed pointers in falloc_noinstall
No functional changes.
Modified:
head/sys/kern/kern_descrip.c
Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c Tue Oct 14 23:16:52 2014 (r273110)
+++ head/sys/kern/kern_descrip.c Wed Oct 15 01:16:11 2014 (r273111)
@@ -1740,8 +1740,6 @@ falloc_noinstall(struct thread *td, stru
refcount_init(&fp->f_count, 1);
fp->f_cred = crhold(td->td_ucred);
fp->f_ops = &badfileops;
- fp->f_data = NULL;
- fp->f_vnode = NULL;
*resultfp = fp;
return (0);
}
More information about the svn-src-all
mailing list