summaryrefslogtreecommitdiffstats
path: root/sys/gnu/ext2fs/ext2_readwrite.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-09-27 19:14:10 +0000
committerphk <phk@FreeBSD.org>2004-09-27 19:14:10 +0000
commit6e31d065d37925f87772a7775c7dee18db982169 (patch)
tree22e41f1d3c0019983422bfb9315f72e9b1318b0f /sys/gnu/ext2fs/ext2_readwrite.c
parent56f202851ac147222e1c5741f6c5091d4f15aa44 (diff)
downloadFreeBSD-src-6e31d065d37925f87772a7775c7dee18db982169.zip
FreeBSD-src-6e31d065d37925f87772a7775c7dee18db982169.tar.gz
Give cluster_write() an explicit vnode argument.
In the future a struct buf will not automatically point out a vnode for us.
Diffstat (limited to 'sys/gnu/ext2fs/ext2_readwrite.c')
-rw-r--r--sys/gnu/ext2fs/ext2_readwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/ext2fs/ext2_readwrite.c b/sys/gnu/ext2fs/ext2_readwrite.c
index 50fae6b..6194911 100644
--- a/sys/gnu/ext2fs/ext2_readwrite.c
+++ b/sys/gnu/ext2fs/ext2_readwrite.c
@@ -272,7 +272,7 @@ WRITE(ap)
} else if (xfersize + blkoffset == fs->s_frag_size) {
if ((vp->v_mount->mnt_flag & MNT_NOCLUSTERW) == 0) {
bp->b_flags |= B_CLUSTEROK;
- cluster_write(bp, ip->i_size, seqcount);
+ cluster_write(vp, bp, ip->i_size, seqcount);
} else {
bawrite(bp);
}
OpenPOWER on IntegriCloud