Date: Tue, 25 Oct 2011 14:01:18 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r226734 - head/sys/kern Message-ID: <201110251401.p9PE1IaO098811@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pjd Date: Tue Oct 25 14:01:17 2011 New Revision: 226734 URL: http://svn.freebsd.org/changeset/base/226734 Log: The v_data field is a pointer, so set it to NULL, not 0. MFC after: 3 days Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c ============================================================================== --- head/sys/kern/vfs_subr.c Tue Oct 25 13:57:50 2011 (r226733) +++ head/sys/kern/vfs_subr.c Tue Oct 25 14:01:17 2011 (r226734) @@ -1054,7 +1054,7 @@ alloc: vp->v_tag = tag; vp->v_op = vops; v_incr_usecount(vp); - vp->v_data = 0; + vp->v_data = NULL; #ifdef MAC mac_vnode_init(vp); if (mp != NULL && (mp->mnt_flag & MNT_MULTILABEL) == 0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110251401.p9PE1IaO098811>