Module Name:    src
Committed By:   pooka
Date:           Wed Apr 21 19:50:57 UTC 2010

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

Log Message:
dumdidumdum, need _KERNEL in previous for fsck.  noticed by moof


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/kern/vfs_wapbl.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/vfs_wapbl.c
diff -u src/sys/kern/vfs_wapbl.c:1.35 src/sys/kern/vfs_wapbl.c:1.36
--- src/sys/kern/vfs_wapbl.c:1.35	Wed Apr 21 16:51:24 2010
+++ src/sys/kern/vfs_wapbl.c	Wed Apr 21 19:50:57 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: vfs_wapbl.c,v 1.35 2010/04/21 16:51:24 pooka Exp $	*/
+/*	$NetBSD: vfs_wapbl.c,v 1.36 2010/04/21 19:50:57 pooka Exp $	*/
 
 /*-
  * Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
 #define WAPBL_INTERNAL
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.35 2010/04/21 16:51:24 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.36 2010/04/21 19:50:57 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/bitops.h>
@@ -2707,6 +2707,7 @@
 	return 0;
 }
 
+#ifdef _KERNEL
 /*
  * This is not really a module now, but maybe on it's way to
  * being one some day.
@@ -2727,3 +2728,4 @@
 		return ENOTTY;
 	}
 }
+#endif /* _KERNEL */

Reply via email to