summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-05-14 01:12:28 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-05-14 01:12:28 +0000
commit3b28e8cd976942359f4ea93e2f8a69bbb266cec5 (patch)
tree8cfaf3bf1bf42a0058d775685be84305b77112bd /sys/ufs/ffs
parentef4554adb6d4559252af88d80749e19247d91146 (diff)
remove the last of the MI commons
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r--sys/ufs/ffs/ffs_softdep.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 65e05e72711..03532af425d 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_softdep.c,v 1.42 2002/10/12 01:09:45 krw Exp $ */
+/* $OpenBSD: ffs_softdep.c,v 1.43 2003/05/14 01:12:27 jason Exp $ */
/*
* Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved.
*
@@ -171,14 +171,6 @@ void softdep_deallocate_dependencies(struct buf *);
void softdep_move_dependencies(struct buf *, struct buf *);
int softdep_count_dependencies(struct buf *bp, int, int);
-struct bio_ops bioops = {
- softdep_disk_io_initiation, /* io_start */
- softdep_disk_write_complete, /* io_complete */
- softdep_deallocate_dependencies, /* io_deallocate */
- softdep_move_dependencies, /* io_movedeps */
- softdep_count_dependencies, /* io_countdeps */
-};
-
/*
* Locking primitives.
*
@@ -1157,6 +1149,12 @@ void
softdep_initialize()
{
+ bioops.io_start = softdep_disk_io_initiation;
+ bioops.io_complete = softdep_disk_write_complete;
+ bioops.io_deallocate = softdep_deallocate_dependencies;
+ bioops.io_movedeps = softdep_move_dependencies;
+ bioops.io_countdeps = softdep_count_dependencies;
+
LIST_INIT(&mkdirlisthd);
LIST_INIT(&softdep_workitem_pending);
#ifdef KMEMSTATS