Make bogus_offset local to bufinit().
This commit is contained in:
parent
bddfcc8792
commit
1f17965656
@ -166,12 +166,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().
|
||||
@ -486,6 +480,7 @@ void
|
||||
bufinit(void)
|
||||
{
|
||||
struct buf *bp;
|
||||
vm_offset_t bogus_offset;
|
||||
int i;
|
||||
|
||||
GIANT_REQUIRED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user