diff options
-rw-r--r-- | sys/fs/cd9660/cd9660_vnops.c | 5 | ||||
-rw-r--r-- | sys/fs/specfs/spec_vnops.c | 5 | ||||
-rw-r--r-- | sys/isofs/cd9660/cd9660_vnops.c | 5 | ||||
-rw-r--r-- | sys/kern/vfs_cluster.c | 4 | ||||
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 5 | ||||
-rw-r--r-- | sys/nfs/nfs_bio.c | 4 | ||||
-rw-r--r-- | sys/nfsclient/nfs_bio.c | 4 | ||||
-rw-r--r-- | sys/ufs/ufs/ufs_readwrite.c | 6 |
8 files changed, 9 insertions, 29 deletions
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c index 691a6ec59b5e..368a66d333b0 100644 --- a/sys/fs/cd9660/cd9660_vnops.c +++ b/sys/fs/cd9660/cd9660_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vnops.c 8.3 (Berkeley) 1/23/94 - * $Id$ + * $Id: cd9660_vnops.c,v 1.3 1994/08/02 07:41:36 davidg Exp $ */ #include <sys/param.h> @@ -280,9 +280,6 @@ cd9660_read(ap) } error = uiomove(bp->b_un.b_addr + on, (int)n, uio); - if (n + on == imp->logical_block_size || - uio->uio_offset == (off_t)ip->i_size) - bp->b_flags |= B_AGE; brelse(bp); } while (error == 0 && uio->uio_resid > 0 && n != 0); return (error); diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index 08907a2c272c..bb2fe1062dde 100644 --- a/sys/fs/specfs/spec_vnops.c +++ b/sys/fs/specfs/spec_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94 - * $Id$ + * $Id: spec_vnops.c,v 1.3 1994/08/02 07:45:27 davidg Exp $ */ #include <sys/param.h> @@ -272,8 +272,6 @@ spec_read(ap) return (error); } error = uiomove((char *)bp->b_data + on, n, uio); - if (n + on == bsize) - bp->b_flags |= B_AGE; brelse(bp); } while (error == 0 && uio->uio_resid > 0 && n != 0); return (error); @@ -352,7 +350,6 @@ spec_write(ap) } error = uiomove((char *)bp->b_data + on, n, uio); if (n + on == bsize) { - bp->b_flags |= B_AGE; bawrite(bp); } else bdwrite(bp); diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c index 691a6ec59b5e..368a66d333b0 100644 --- a/sys/isofs/cd9660/cd9660_vnops.c +++ b/sys/isofs/cd9660/cd9660_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vnops.c 8.3 (Berkeley) 1/23/94 - * $Id$ + * $Id: cd9660_vnops.c,v 1.3 1994/08/02 07:41:36 davidg Exp $ */ #include <sys/param.h> @@ -280,9 +280,6 @@ cd9660_read(ap) } error = uiomove(bp->b_un.b_addr + on, (int)n, uio); - if (n + on == imp->logical_block_size || - uio->uio_offset == (off_t)ip->i_size) - bp->b_flags |= B_AGE; brelse(bp); } while (error == 0 && uio->uio_resid > 0 && n != 0); return (error); diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 46eb0adbea13..05407dd09e35 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)vfs_cluster.c 8.7 (Berkeley) 2/13/94 - * $Id$ + * $Id: vfs_cluster.c,v 1.3 1994/08/02 07:43:17 davidg Exp $ */ #include <sys/param.h> @@ -696,7 +696,7 @@ redo: tbp->b_bufsize -= size; tbp->b_flags &= ~(B_READ | B_DONE | B_ERROR | B_DELWRI); - tbp->b_flags |= (B_ASYNC | B_AGE); + tbp->b_flags |= B_ASYNC; s = splbio(); reassignbuf(tbp, tbp->b_vp); /* put on clean list */ ++tbp->b_vp->v_numoutput; diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 08907a2c272c..bb2fe1062dde 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94 - * $Id$ + * $Id: spec_vnops.c,v 1.3 1994/08/02 07:45:27 davidg Exp $ */ #include <sys/param.h> @@ -272,8 +272,6 @@ spec_read(ap) return (error); } error = uiomove((char *)bp->b_data + on, n, uio); - if (n + on == bsize) - bp->b_flags |= B_AGE; brelse(bp); } while (error == 0 && uio->uio_resid > 0 && n != 0); return (error); @@ -352,7 +350,6 @@ spec_write(ap) } error = uiomove((char *)bp->b_data + on, n, uio); if (n + on == bsize) { - bp->b_flags |= B_AGE; bawrite(bp); } else bdwrite(bp); diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index 893aabf91782..381d8e34b5c6 100644 --- a/sys/nfs/nfs_bio.c +++ b/sys/nfs/nfs_bio.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_bio.c 8.5 (Berkeley) 1/4/94 - * $Id$ + * $Id: nfs_bio.c,v 1.3 1994/08/02 07:52:05 davidg Exp $ */ #include <sys/param.h> @@ -329,8 +329,6 @@ again: } switch (vp->v_type) { case VREG: - if (n + on == biosize || uio->uio_offset == np->n_size) - bp->b_flags |= B_AGE; break; case VLNK: n = 0; diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index 893aabf91782..381d8e34b5c6 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/nfs_bio.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_bio.c 8.5 (Berkeley) 1/4/94 - * $Id$ + * $Id: nfs_bio.c,v 1.3 1994/08/02 07:52:05 davidg Exp $ */ #include <sys/param.h> @@ -329,8 +329,6 @@ again: } switch (vp->v_type) { case VREG: - if (n + on == biosize || uio->uio_offset == np->n_size) - bp->b_flags |= B_AGE; break; case VLNK: n = 0; diff --git a/sys/ufs/ufs/ufs_readwrite.c b/sys/ufs/ufs/ufs_readwrite.c index d7fd562b2119..34c0e9e8d86a 100644 --- a/sys/ufs/ufs/ufs_readwrite.c +++ b/sys/ufs/ufs/ufs_readwrite.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ufs_readwrite.c 8.7 (Berkeley) 1/21/94 - * $Id$ + * $Id: ufs_readwrite.c,v 1.3 1994/08/02 07:55:00 davidg Exp $ */ #ifdef LFS_READWRITE @@ -147,9 +147,6 @@ READ(ap) uiomove((char *)bp->b_data + blkoffset, (int)xfersize, uio)) break; - if (S_ISREG(mode) && (xfersize + blkoffset == fs->fs_bsize || - uio->uio_offset == ip->i_size)) - bp->b_flags |= B_AGE; brelse(bp); } if (bp != NULL) @@ -268,7 +265,6 @@ WRITE(ap) if (doclusterwrite) cluster_write(bp, ip->i_size); else { - bp->b_flags |= B_AGE; bawrite(bp); } else |