Source-Changes-HG archive

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

[src/trunk]: src/sys/kern also define bioops if FFS is not defined.



details:   https://anonhg.NetBSD.org/src/rev/84329750e92f
branches:  trunk
changeset: 572198:84329750e92f
user:      dbj <dbj%NetBSD.org@localhost>
date:      Thu Dec 23 20:11:28 2004 +0000

description:
also define bioops if FFS is not defined.

diffstat:

 sys/kern/vfs_bio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 43bf5b688615 -r 84329750e92f sys/kern/vfs_bio.c
--- a/sys/kern/vfs_bio.c        Thu Dec 23 12:25:24 2004 +0000
+++ b/sys/kern/vfs_bio.c        Thu Dec 23 20:11:28 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_bio.c,v 1.139 2004/12/05 06:12:54 jrf Exp $        */
+/*     $NetBSD: vfs_bio.c,v 1.140 2004/12/23 20:11:28 dbj Exp $        */
 
 /*-
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -81,7 +81,7 @@
 #include "opt_softdep.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.139 2004/12/05 06:12:54 jrf Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.140 2004/12/23 20:11:28 dbj Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -149,7 +149,7 @@
        (&bufhashtbl[(((long)(dvp) >> 8) + (int)(lbn)) & bufhash])
 LIST_HEAD(bufhashhdr, buf) *bufhashtbl, invalhash;
 u_long bufhash;
-#ifndef SOFTDEP
+#if !defined(SOFTDEP) || !defined(FFS)
 struct bio_ops bioops; /* I/O operation notification */
 #endif
 



Home | Main Index | Thread Index | Old Index