diff options
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 554b5e2..1ffa2ff 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1169,8 +1169,7 @@ vinvalbuf(vp, flags, cred, td, slpflag, slptimeo) } VI_UNLOCK(vp); if (VOP_GETVOBJECT(vp, &object) == 0) { - while (object->paging_in_progress) - vm_object_pip_sleep(object, "vnvlbx"); + vm_object_pip_wait(object, "vnvlbx"); } VI_LOCK(vp); } while (vp->v_numoutput > 0); |