diff options
| author | Alan Cox <alc@FreeBSD.org> | 2003-06-13 03:02:28 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2003-06-13 03:02:28 +0000 |
| commit | 8630c1173e342bff070f47dafd97765af57208cb (patch) | |
| tree | 131300009b7d968e4f3ac335ab6af00d92af89ef /sys/vm/vnode_pager.c | |
| parent | d7522df29cb79d799b3f43288fa0e8795692ebe5 (diff) | |
Notes
Diffstat (limited to 'sys/vm/vnode_pager.c')
| -rw-r--r-- | sys/vm/vnode_pager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index a6869b086559..993725d4e93e 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -623,11 +623,12 @@ vnode_pager_getpages(object, m, count, reqpage) struct vnode *vp; int bytes = count * PAGE_SIZE; - GIANT_REQUIRED; vp = object->handle; + VM_OBJECT_UNLOCK(object); rtval = VOP_GETPAGES(vp, m, bytes, reqpage, 0); KASSERT(rtval != EOPNOTSUPP, ("vnode_pager: FS getpages not implemented\n")); + VM_OBJECT_LOCK(object); return rtval; } |
