mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Remove GIANT_REQUIRED from vmapbuf().
This commit is contained in:
parent
3e36afbe27
commit
d8582da660
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132337
@ -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 :
|
||||
|
Loading…
Reference in New Issue
Block a user