Remove GIANT_REQUIRED from vmapbuf().

This commit is contained in:
Alan Cox 2004-07-18 04:57:49 +00:00
parent 3e36afbe27
commit d8582da660

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 :