diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2011-07-04 04:30:42 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2011-07-04 04:30:42 +0000 |
commit | 6558208a6b4fc7625013eefd861685b315297077 (patch) | |
tree | 8fc25d47f546d697f926de0c28d92fbbbcd07d3f /sys/kern/vfs_cluster.c | |
parent | ef5f1b83a6551f7b66a6fb3c9960750efe43882a (diff) |
bread does nothing with its ucred argument. remove it. ok matthew
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r-- | sys/kern/vfs_cluster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 7d31ed887a2..2f0634dae87 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_cluster.c,v 1.37 2007/05/26 20:26:51 pedro Exp $ */ +/* $OpenBSD: vfs_cluster.c,v 1.38 2011/07/04 04:30:41 tedu Exp $ */ /* $NetBSD: vfs_cluster.c,v 1.12 1996/04/22 01:39:05 christos Exp $ */ /* @@ -235,7 +235,7 @@ cluster_collectbufs(struct vnode *vp, struct cluster_info *ci, buflist->bs_nchildren = 0; buflist->bs_children = (struct buf **)(buflist + 1); for (lbn = ci->ci_cstart, i = 0; i < len; lbn++, i++) - (void)bread(vp, lbn, last_bp->b_bcount, NOCRED, + (void)bread(vp, lbn, last_bp->b_bcount, &buflist->bs_children[i]); buflist->bs_children[i] = last_bp; buflist->bs_nchildren = i + 1; |