Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/lfs compile without COMPAT_50



details:   https://anonhg.NetBSD.org/src/rev/807e6e06e1be
branches:  trunk
changeset: 748651:807e6e06e1be
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 30 00:53:29 2009 +0000

description:
compile without COMPAT_50

diffstat:

 sys/ufs/lfs/lfs_vnops.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 66bf04ea1008 -r 807e6e06e1be sys/ufs/lfs/lfs_vnops.c
--- a/sys/ufs/lfs/lfs_vnops.c   Fri Oct 30 00:30:20 2009 +0000
+++ b/sys/ufs/lfs/lfs_vnops.c   Fri Oct 30 00:53:29 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_vnops.c,v 1.222 2009/10/29 17:10:32 christos Exp $ */
+/*     $NetBSD: lfs_vnops.c,v 1.223 2009/10/30 00:53:29 christos Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.222 2009/10/29 17:10:32 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.223 2009/10/30 00:53:29 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -1490,7 +1490,9 @@
                /* FALLSTHROUGH */
            case LFCNSEGWAIT:
                tvp = (struct timeval *)ap->a_data;
+#ifdef COMPAT_50
 segwait_common:
+#endif /* COMPAT_50 */
                mutex_enter(&lfs_lock);
                ++fs->lfs_sleepers;
                mutex_exit(&lfs_lock);



Home | Main Index | Thread Index | Old Index