diff options
| author | Alexander Kabaev <kan@FreeBSD.org> | 2004-01-19 20:03:43 +0000 |
|---|---|---|
| committer | Alexander Kabaev <kan@FreeBSD.org> | 2004-01-19 20:03:43 +0000 |
| commit | 6bd39fe97840366e063fc9383443bc0d3076df53 (patch) | |
| tree | df1cc5e709fbf50876692768b8efd022441ed7d8 /sys/gnu/ext2fs/ext2_readwrite.c | |
| parent | 4f7a266b2f2cfc7e0cc9d1d27a89f3306e18de97 (diff) | |
Notes
Diffstat (limited to 'sys/gnu/ext2fs/ext2_readwrite.c')
| -rw-r--r-- | sys/gnu/ext2fs/ext2_readwrite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/gnu/ext2fs/ext2_readwrite.c b/sys/gnu/ext2fs/ext2_readwrite.c index 232e46f71ddf..ba798354f347 100644 --- a/sys/gnu/ext2fs/ext2_readwrite.c +++ b/sys/gnu/ext2fs/ext2_readwrite.c @@ -70,7 +70,7 @@ READ(ap) off_t bytesinfile; long size, xfersize, blkoffset; int error, orig_resid; - int seqcount = ap->a_ioflag >> 16; + int seqcount = ap->a_ioflag >> IO_SEQSHIFT; u_short mode; vp = ap->a_vp; @@ -114,7 +114,7 @@ READ(ap) else if ((vp->v_mount->mnt_flag & MNT_NOCLUSTERR) == 0) error = cluster_read(vp, ip->i_size, lbn, size, NOCRED, - uio->uio_resid, (ap->a_ioflag >> 16), &bp); + uio->uio_resid, (ap->a_ioflag >> IO_SEQSHIFT), &bp); else if (seqcount > 1) { int nextsize = BLKSIZE(fs, ip, nextlbn); error = breadn(vp, lbn, @@ -179,7 +179,7 @@ WRITE(ap) int blkoffset, error, flags, ioflag, resid, size, xfersize; ioflag = ap->a_ioflag; - seqcount = ap->a_ioflag >> 16; + seqcount = ap->a_ioflag >> IO_SEQSHIFT; uio = ap->a_uio; vp = ap->a_vp; ip = VTOI(vp); |
