Date: Wed, 15 Oct 2014 01:16:12 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273111 - head/sys/kern Message-ID: <201410150116.s9F1GCZL079062@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410150116.s9F1GCZL079062>