o Remove GIANT_REQUIRED from vm_pager_allocate() and vm_pager_deallocate().

This commit is contained in:
Alan Cox 2002-06-21 05:04:56 +00:00
parent 0ba151b79e
commit 7942194583
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98538

View File

@ -248,8 +248,6 @@ vm_pager_allocate(objtype_t type, void *handle, vm_ooffset_t size,
vm_object_t ret;
struct pagerops *ops;
GIANT_REQUIRED;
ops = pagertab[type];
if (ops)
ret = (*ops->pgo_alloc) (handle, size, prot, off);
@ -262,7 +260,6 @@ void
vm_pager_deallocate(object)
vm_object_t object;
{
GIANT_REQUIRED;
(*pagertab[object->type]->pgo_dealloc) (object);
}