diff options
author | kib <kib@FreeBSD.org> | 2013-03-14 20:28:26 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-03-14 20:28:26 +0000 |
commit | 9b0c4b125bb359cc94686ed5aafa1aaeecbcc3cf (patch) | |
tree | e8bc10388604a5af62ee23944945d21ddb0d1770 /sys/fs/ext2fs/ext2_balloc.c | |
parent | 1b62958b4e3fc6e1ea024e0c6d27308be8a97a46 (diff) | |
download | FreeBSD-src-9b0c4b125bb359cc94686ed5aafa1aaeecbcc3cf.zip FreeBSD-src-9b0c4b125bb359cc94686ed5aafa1aaeecbcc3cf.tar.gz |
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
Diffstat (limited to 'sys/fs/ext2fs/ext2_balloc.c')
-rw-r--r-- | sys/fs/ext2fs/ext2_balloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_balloc.c b/sys/fs/ext2fs/ext2_balloc.c index 1c0cc0e..88ad710 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); } |