Date: Mon, 18 May 2009 08:42:00 +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-7@freebsd.org Subject: svn commit: r192301 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb fs/devfs Message-ID: <200905180842.n4I8g0hF055224@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon May 18 08:41:59 2009 New Revision: 192301 URL: http://svn.freebsd.org/changeset/base/192301 Log: MFC r192151: Initialize f_vnode before calling d_fdopen() cdevsw method. 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/fs/devfs/devfs_vnops.c Modified: stable/7/sys/fs/devfs/devfs_vnops.c ============================================================================== --- stable/7/sys/fs/devfs/devfs_vnops.c Mon May 18 07:24:06 2009 (r192300) +++ stable/7/sys/fs/devfs/devfs_vnops.c Mon May 18 08:41:59 2009 (r192301) @@ -890,6 +890,7 @@ devfs_open(struct vop_open_args *ap) if (fp != NULL) { FILE_LOCK(fp); fp->f_data = dev; + fp->f_vnode = vp; FILE_UNLOCK(fp); } fpop = td->td_fpop;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905180842.n4I8g0hF055224>