Assert that the vm object is locked on entry to swap_pager_freespace().
This commit is contained in:
parent
bb22b14154
commit
19ba4c8e49
@ -546,7 +546,7 @@ swap_pager_freespace(object, start, size)
|
||||
{
|
||||
int s = splvm();
|
||||
|
||||
GIANT_REQUIRED;
|
||||
VM_OBJECT_LOCK_ASSERT(object, MA_OWNED);
|
||||
swp_pager_meta_free(object, start, size);
|
||||
splx(s);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user