diff options
author | alc <alc@FreeBSD.org> | 2004-07-18 04:57:49 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-07-18 04:57:49 +0000 |
commit | e479e5c263f44f535044a1b285c21a3108e0afaf (patch) | |
tree | db8044bcbde7368837efe389d221a00b03d90e2c /sys/kern | |
parent | c2ace5ec030cc9f7d4716d965c4705f64c5142bf (diff) | |
download | FreeBSD-src-e479e5c263f44f535044a1b285c21a3108e0afaf.zip FreeBSD-src-e479e5c263f44f535044a1b285c21a3108e0afaf.tar.gz |
Remove GIANT_REQUIRED from vmapbuf().
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_bio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index bff9c21..20f809b 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -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 : |