Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern dumdidumdum, need _KERNEL in previous for fsck. no...
details: https://anonhg.NetBSD.org/src/rev/4d70ac88e56f
branches: trunk
changeset: 754147:4d70ac88e56f
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Apr 21 19:50:57 2010 +0000
description:
dumdidumdum, need _KERNEL in previous for fsck. noticed by moof
diffstat:
sys/kern/vfs_wapbl.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 244ee8c3dad1 -r 4d70ac88e56f sys/kern/vfs_wapbl.c
--- a/sys/kern/vfs_wapbl.c Wed Apr 21 18:43:26 2010 +0000
+++ b/sys/kern/vfs_wapbl.c Wed Apr 21 19:50:57 2010 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index