Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2008 06:07:28 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 132947 for review
Message-ID:  <200801100607.m0A67S2A063428@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132947

Change 132947 by jb@jb_freebsd1 on 2008/01/10 06:06:40

	Add another variable (rootvp) that exists in the Solaris kernel.
	
	Type define vnode_t so that the DTrace test suite can use that too.

Affected files ...

.. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_test.c#2 edit

Differences ...

==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_test.c#2 (text+ko) ====

@@ -32,6 +32,7 @@
 #include <sys/conf.h>
 #include <sys/kernel.h>
 #include <sys/module.h>
+#include <sys/vnode.h>
 
 /*
  * These are variables that the DTrace test suite references in the
@@ -40,6 +41,10 @@
  */
 int	kmem_flags;
 
+typedef struct vnode vnode_t;
+vnode_t dummy;
+vnode_t *rootvp = &dummy;
+
 static int
 dtrace_test_modevent(module_t mod, int type, void *data)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801100607.m0A67S2A063428>