summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2011-07-04 04:30:42 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2011-07-04 04:30:42 +0000
commit6558208a6b4fc7625013eefd861685b315297077 (patch)
tree8fc25d47f546d697f926de0c28d92fbbbcd07d3f /sys/kern/vfs_bio.c
parentef5f1b83a6551f7b66a6fb3c9960750efe43882a (diff)
bread does nothing with its ucred argument. remove it. ok matthew
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index fb3acc990a7..6a6b1734dcc 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_bio.c,v 1.130 2011/06/05 19:41:04 deraadt Exp $ */
+/* $OpenBSD: vfs_bio.c,v 1.131 2011/07/04 04:30:41 tedu Exp $ */
/* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */
/*
@@ -403,8 +403,7 @@ bio_doread(struct vnode *vp, daddr64_t blkno, int size, int async)
* This algorithm described in Bach (p.54).
*/
int
-bread(struct vnode *vp, daddr64_t blkno, int size, struct ucred *cred,
- struct buf **bpp)
+bread(struct vnode *vp, daddr64_t blkno, int size, struct buf **bpp)
{
struct buf *bp;
@@ -421,7 +420,7 @@ bread(struct vnode *vp, daddr64_t blkno, int size, struct ucred *cred,
*/
int
breadn(struct vnode *vp, daddr64_t blkno, int size, daddr64_t rablks[],
- int rasizes[], int nrablks, struct ucred *cred, struct buf **bpp)
+ int rasizes[], int nrablks, struct buf **bpp)
{
struct buf *bp;
int i;