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

Reply via email to