diff options
-rw-r--r-- | sys/kern/vfs_bio.c | 7 | ||||
-rw-r--r-- | sys/sys/bio.h | 7 | ||||
-rw-r--r-- | sys/sys/buf.h | 7 |
3 files changed, 3 insertions, 18 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index cb18320..d33fc2f 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -11,7 +11,7 @@ * 2. Absolutely no warranty of function or purpose is made by the author * John S. Dyson. * - * $Id: vfs_bio.c,v 1.207 1999/04/29 18:15:25 alc Exp $ + * $Id: vfs_bio.c,v 1.208 1999/05/02 23:56:10 alc Exp $ */ /* @@ -2642,11 +2642,6 @@ vfs_unbusy_pages(struct buf * bp) * Set the valid bits in a page based on the supplied offset. The * range is restricted to the buffer's size. * - * For NFS, the range is additionally restricted to b_validoff/end. - * validoff/end must be DEV_BSIZE chunky or the end must be at the - * file EOF. If a dirty range exists, set the page's dirty bits - * inclusively. - * * This routine is typically called after a read completes. */ static void diff --git a/sys/sys/bio.h b/sys/sys/bio.h index 2e88ca7..2c6bd9b 100644 --- a/sys/sys/bio.h +++ b/sys/sys/bio.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)buf.h 8.9 (Berkeley) 3/30/95 - * $Id: buf.h,v 1.65 1999/03/12 02:24:55 julian Exp $ + * $Id: buf.h,v 1.66 1999/05/02 23:56:34 alc Exp $ */ #ifndef _SYS_BUF_H_ @@ -122,13 +122,8 @@ struct buf { int b_dirtyend; /* Offset of end of dirty region. */ struct ucred *b_rcred; /* Read credentials reference. */ struct ucred *b_wcred; /* Write credentials reference. */ -#if 0 - int b_validoff; /* Offset in buffer of valid region. */ - int b_validend; /* Offset of end of valid region. */ -#endif daddr_t b_pblkno; /* physical block number */ void *b_saveaddr; /* Original b_addr for physio. */ - caddr_t b_savekva; /* saved kva for transfer while bouncing */ void *b_driver1; /* for private use by the driver */ void *b_driver2; /* for private use by the driver */ union pager_info { diff --git a/sys/sys/buf.h b/sys/sys/buf.h index 2e88ca7..2c6bd9b 100644 --- a/sys/sys/buf.h +++ b/sys/sys/buf.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)buf.h 8.9 (Berkeley) 3/30/95 - * $Id: buf.h,v 1.65 1999/03/12 02:24:55 julian Exp $ + * $Id: buf.h,v 1.66 1999/05/02 23:56:34 alc Exp $ */ #ifndef _SYS_BUF_H_ @@ -122,13 +122,8 @@ struct buf { int b_dirtyend; /* Offset of end of dirty region. */ struct ucred *b_rcred; /* Read credentials reference. */ struct ucred *b_wcred; /* Write credentials reference. */ -#if 0 - int b_validoff; /* Offset in buffer of valid region. */ - int b_validend; /* Offset of end of valid region. */ -#endif daddr_t b_pblkno; /* physical block number */ void *b_saveaddr; /* Original b_addr for physio. */ - caddr_t b_savekva; /* saved kva for transfer while bouncing */ void *b_driver1; /* for private use by the driver */ void *b_driver2; /* for private use by the driver */ union pager_info { |