Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs check _KERNEL_OPT instead of !_LKM to conditiona...
details: https://anonhg.NetBSD.org/src/rev/4becf5fbae3e
branches: trunk
changeset: 573287:4becf5fbae3e
user: dbj <dbj%NetBSD.org@localhost>
date: Mon Jan 24 21:34:48 2005 +0000
description:
check _KERNEL_OPT instead of !_LKM to conditionalize opt includes
diffstat:
sys/ufs/ufs/ufs_vnops.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r d3baa1a84dbd -r 4becf5fbae3e sys/ufs/ufs/ufs_vnops.c
--- a/sys/ufs/ufs/ufs_vnops.c Mon Jan 24 21:27:02 2005 +0000
+++ b/sys/ufs/ufs/ufs_vnops.c Mon Jan 24 21:34:48 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_vnops.c,v 1.124 2005/01/23 19:37:05 rumble Exp $ */
+/* $NetBSD: ufs_vnops.c,v 1.125 2005/01/24 21:34:48 dbj Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993, 1995
@@ -37,12 +37,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.124 2005/01/23 19:37:05 rumble Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.125 2005/01/24 21:34:48 dbj Exp $");
-#ifndef _LKM
+#if defined(_KERNEL_OPT)
#include "opt_quota.h"
#include "fs_lfs.h"
-#endif /* _LKM */
+#endif
#include <sys/param.h>
#include <sys/systm.h>
Home |
Main Index |
Thread Index |
Old Index