diff options
-rw-r--r-- | sys/vm/vm_page.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 0ff53f3..de18264 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -1641,6 +1641,7 @@ vm_page_zero_invalid(vm_page_t m, boolean_t setvalid) int b; int i; + VM_OBJECT_LOCK_ASSERT(m->object, MA_OWNED); /* * Scan the valid bits looking for invalid sections that * must be zerod. Invalid sub-DEV_BSIZE'd areas ( where the |