Remove GIANT_REQUIRED from vmapbuf().

This commit is contained in:
alc 2004-07-18 04:57:49 +00:00
parent 89cf597e04
commit e2c9111ab8

View File

@ -3689,8 +3689,6 @@ vmapbuf(struct buf *bp)
struct vm_page *m;
struct pmap *pmap = &curproc->p_vmspace->vm_pmap;
GIANT_REQUIRED;
if (bp->b_bufsize < 0)
return (-1);
prot = (bp->b_iocmd == BIO_READ) ? VM_PROT_READ | VM_PROT_WRITE :