Date: Fri, 2 Aug 2013 13:06:49 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253885 - head/sys/kern Message-ID: <201308021306.r72D6n3Y031002@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Fri Aug 2 13:06:49 2013 New Revision: 253885 URL: http://svnweb.freebsd.org/changeset/base/253885 Log: Remove extra zeroing after M_ZERO allocation. Modified: head/sys/kern/vfs_aio.c Modified: head/sys/kern/vfs_aio.c ============================================================================== --- head/sys/kern/vfs_aio.c Fri Aug 2 06:31:09 2013 (r253884) +++ head/sys/kern/vfs_aio.c Fri Aug 2 13:06:49 2013 (r253885) @@ -1595,8 +1595,6 @@ aio_aqueue(struct thread *td, struct aio } aiocbe = uma_zalloc(aiocb_zone, M_WAITOK | M_ZERO); - aiocbe->inputcharge = 0; - aiocbe->outputcharge = 0; knlist_init_mtx(&aiocbe->klist, AIO_MTX(ki)); error = ops->copyin(job, &aiocbe->uaiocb);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308021306.r72D6n3Y031002>