Date: Fri, 20 Mar 2009 01:15:50 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r190121 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern Message-ID: <200903200115.n2K1ForV081908@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: csjp Date: Fri Mar 20 01:15:50 2009 New Revision: 190121 URL: http://svn.freebsd.org/changeset/base/190121 Log: MFC r182120 - Avoid printing warning message for vnodes that have dead fileops when MAC is enabled Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/kern/vfs_subr.c Modified: stable/7/sys/kern/vfs_subr.c ============================================================================== --- stable/7/sys/kern/vfs_subr.c Fri Mar 20 00:55:38 2009 (r190120) +++ stable/7/sys/kern/vfs_subr.c Fri Mar 20 01:15:50 2009 (r190121) @@ -949,7 +949,7 @@ alloc: mac_init_vnode(vp); if (mp != NULL && (mp->mnt_flag & MNT_MULTILABEL) == 0) mac_associate_vnode_singlelabel(mp, vp); - else if (mp == NULL) + else if (mp == NULL && vops != &dead_vnodeops) printf("NULL mp in getnewvnode()\n"); #endif if (mp != NULL) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903200115.n2K1ForV081908>