diff options
author | alc <alc@FreeBSD.org> | 2003-01-07 19:55:08 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-01-07 19:55:08 +0000 |
commit | 0943de6b01db46f4cd4cef9ae98ad08c596b116d (patch) | |
tree | d7fd70bc5566811bfb1e2e6288bb0c6231da2c55 /sys/kern/vfs_bio.c | |
parent | 8840dfea7bcdfca41f7b7d25116a973df1ddb08c (diff) | |
download | FreeBSD-src-0943de6b01db46f4cd4cef9ae98ad08c596b116d.zip FreeBSD-src-0943de6b01db46f4cd4cef9ae98ad08c596b116d.tar.gz |
Make bogus_offset local to bufinit().
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index dbfaa9c..4139a81 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -167,12 +167,6 @@ static int bd_request; vm_page_t bogus_page; /* - * Offset for bogus_page. - * XXX bogus_offset should be local to bufinit - */ -static vm_offset_t bogus_offset; - -/* * Synchronization (sleep/wakeup) variable for active buffer space requests. * Set when wait starts, cleared prior to wakeup(). * Used in runningbufwakeup() and waitrunningbufspace(). @@ -486,6 +480,7 @@ void bufinit(void) { struct buf *bp; + vm_offset_t bogus_offset; int i; GIANT_REQUIRED; |