Module Name:    src
Committed By:   christos
Date:           Fri Nov 25 17:53:20 UTC 2011

Modified Files:
        src/sys/kern: subr_disk_open.c

Log Message:
stopgap fix for rump build


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/kern/subr_disk_open.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/subr_disk_open.c
diff -u src/sys/kern/subr_disk_open.c:1.4 src/sys/kern/subr_disk_open.c:1.5
--- src/sys/kern/subr_disk_open.c:1.4	Sun Nov 13 17:54:05 2011
+++ src/sys/kern/subr_disk_open.c	Fri Nov 25 12:53:20 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: subr_disk_open.c,v 1.4 2011/11/13 22:54:05 christos Exp $	*/
+/*	$NetBSD: subr_disk_open.c,v 1.5 2011/11/25 17:53:20 christos Exp $	*/
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_disk_open.c,v 1.4 2011/11/13 22:54:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_disk_open.c,v 1.5 2011/11/25 17:53:20 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -39,6 +39,7 @@ __KERNEL_RCSID(0, "$NetBSD: subr_disk_op
 #include <sys/vnode.h>
 #include <miscfs/specfs/specdev.h>
 
+#ifndef _RUMPKERNEL
 struct vnode *
 opendisk(struct device *dv)
 {
@@ -109,6 +110,7 @@ getdisksize(struct vnode *vp, uint64_t *
 
 	return error;
 }
+#endif
 
 int
 getdiskinfo(struct vnode *vp, struct dkwedge_info *dkw)

Reply via email to