diff options
-rw-r--r-- | sys/vm/device_pager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/device_pager.c b/sys/vm/device_pager.c index d96cd85..65b268a 100644 --- a/sys/vm/device_pager.c +++ b/sys/vm/device_pager.c @@ -212,6 +212,7 @@ dev_pager_getpages(object, m, count, reqpage) d_mmap_t *mapfunc; int prot; + VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); dev = object->handle; offset = m[reqpage]->pindex; VM_OBJECT_UNLOCK(object); |