summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2004-11-30 12:39:44 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2004-11-30 12:39:44 +0000
commitaac8591775e16c95e31690112911357625816025 (patch)
tree223e0eab8b258de956a5e578ebc4cd726a28e789 /sys/kern/vfs_bio.c
parentf99ed56760f81dbdddeda9f84b1f6a122b748825 (diff)
kill breada(), from Sven Dehmlow. ok tedu@ millert@
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index b4402fb8723..56e0b3d2514 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_bio.c,v 1.71 2004/11/01 15:55:38 pedro Exp $ */
+/* $OpenBSD: vfs_bio.c,v 1.72 2004/11/30 12:39:43 pedro Exp $ */
/* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */
/*-
@@ -303,19 +303,6 @@ breadn(struct vnode *vp, daddr_t blkno, int size, daddr_t rablks[],
}
/*
- * Read with single-block read-ahead. Defined in Bach (p.55), but
- * implemented as a call to breadn().
- * XXX for compatibility with old file systems.
- */
-int
-breada(struct vnode *vp, daddr_t blkno, int size, daddr_t rablkno, int rabsize,
- struct ucred *cred, struct buf **bpp)
-{
-
- return (breadn(vp, blkno, size, &rablkno, &rabsize, 1, cred, bpp));
-}
-
-/*
* Block write. Described in Bach (p.56)
*/
int