Date: Wed, 7 Mar 2012 08:24:49 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r232650 - stable/8/sys/fs/nullfs Message-ID: <201203070824.q278Onqp083047@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Wed Mar 7 08:24:48 2012 New Revision: 232650 URL: http://svn.freebsd.org/changeset/base/232650 Log: MFC r232296: Merge a split multi-line comment. Modified: stable/8/sys/fs/nullfs/null_subr.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/fs/nullfs/null_subr.c ============================================================================== --- stable/8/sys/fs/nullfs/null_subr.c Wed Mar 7 08:21:25 2012 (r232649) +++ stable/8/sys/fs/nullfs/null_subr.c Wed Mar 7 08:24:48 2012 (r232650) @@ -208,12 +208,9 @@ null_nodeget(mp, lowervp, vpp) /* * We do not serialize vnode creation, instead we will check for * duplicates later, when adding new vnode to hash. - * * Note that duplicate can only appear in hash if the lowervp is * locked LK_SHARED. - */ - - /* + * * Do the MALLOC before the getnewvnode since doing so afterward * might cause a bogus v_data pointer to get dereferenced * elsewhere if MALLOC should block.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203070824.q278Onqp083047>