Module Name: src
Committed By: yamt
Date: Sun Aug 16 10:57:17 UTC 2009
Modified Files:
src/sys/sys: buf.h
Log Message:
g/c bio_ops.
To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/sys/buf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/buf.h
diff -u src/sys/sys/buf.h:1.112 src/sys/sys/buf.h:1.113
--- src/sys/sys/buf.h:1.112 Sun May 3 16:52:55 2009
+++ src/sys/sys/buf.h Sun Aug 16 10:57:17 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: buf.h,v 1.112 2009/05/03 16:52:55 pooka Exp $ */
+/* $NetBSD: buf.h,v 1.113 2009/08/16 10:57:17 yamt Exp $ */
/*-
* Copyright (c) 1999, 2000, 2007, 2008 The NetBSD Foundation, Inc.
@@ -84,23 +84,6 @@
#define NOLIST ((struct buf *)0x87654321)
-/*
- * These are currently used only by the soft dependency code, hence
- * are stored once in a global variable. If other subsystems wanted
- * to use these hooks, a pointer to a set of bio_ops could be added
- * to each buffer.
- */
-struct bio_ops {
- void (*io_start)(struct buf *);
- void (*io_complete)(struct buf *);
- void (*io_deallocate)(struct buf *);
- int (*io_fsync)(struct vnode *, int);
- int (*io_sync)(struct mount *);
- void (*io_movedeps)(struct buf *, struct buf *);
- int (*io_countdeps)(struct buf *, int);
- void (*io_pageiodone)(struct buf *);
-};
-
extern kmutex_t bufcache_lock;
extern kmutex_t buffer_lock;