aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/cd9660
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-08-08 09:11:44 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-08-08 09:11:44 +0000
commit866dba73053eb0bdc9569af054f54e7db30a2702 (patch)
treecd38242284458e56c6e3c3915a1c3113712bc4b7 /sys/fs/cd9660
parent61d5ffaf10e8b89118dab351dc6117a08bee6887 (diff)
downloadsrc-866dba73053eb0bdc9569af054f54e7db30a2702.tar.gz
src-866dba73053eb0bdc9569af054f54e7db30a2702.zip
Changed B_AGE policy to work correctly in a world with relatively large
buffer caches. The old policy generally ended up caching nothing.
Notes
Notes: svn path=/head/; revision=1937
Diffstat (limited to 'sys/fs/cd9660')
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c5
1 files changed, 1 insertions, 4 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);