aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/ext2fs/ext2_balloc.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2013-03-14 20:28:26 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2013-03-14 20:28:26 +0000
commitc535690b33b611bb32371f99c64239485e7c1f1a (patch)
treee8bc10388604a5af62ee23944945d21ddb0d1770 /sys/fs/ext2fs/ext2_balloc.c
parent36a00a3f38e7504ff63b0c638b0d692c424a8235 (diff)
downloadsrc-c535690b33b611bb32371f99c64239485e7c1f1a.tar.gz
src-c535690b33b611bb32371f99c64239485e7c1f1a.zip
Add currently unused flag argument to the cluster_read(),
cluster_write() and cluster_wbuild() functions. The flags to be allowed are a subset of the GB_* flags for getblk(). Sponsored by: The FreeBSD Foundation Tested by: pho
Notes
Notes: svn path=/head/; revision=248282
Diffstat (limited to 'sys/fs/ext2fs/ext2_balloc.c')
-rw-r--r--sys/fs/ext2fs/ext2_balloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_balloc.c b/sys/fs/ext2fs/ext2_balloc.c
index 1c0cc0e4bbee..88ad71095308 100644
--- a/sys/fs/ext2fs/ext2_balloc.c
+++ b/sys/fs/ext2fs/ext2_balloc.c
@@ -276,7 +276,7 @@ ext2_balloc(struct inode *ip, int32_t lbn, int size, struct ucred *cred,
if (seqcount && (vp->v_mount->mnt_flag & MNT_NOCLUSTERR) == 0) {
error = cluster_read(vp, ip->i_size, lbn,
(int)fs->e2fs_bsize, NOCRED,
- MAXBSIZE, seqcount, &nbp);
+ MAXBSIZE, seqcount, 0, &nbp);
} else {
error = bread(vp, lbn, (int)fs->e2fs_bsize, NOCRED, &nbp);
}