diff options
| author | Alan Cox <alc@FreeBSD.org> | 2003-04-13 05:10:44 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2003-04-13 05:10:44 +0000 |
| commit | e96c181d16a480a21afce2a0834138c255d4e460 (patch) | |
| tree | 53ae49b25be8aa5ddbc462429462f76aed48971a /sys/kern/vfs_subr.c | |
| parent | ba32bfe24e2dfd59b80e12d8700babd04576aef8 (diff) | |
Notes
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 554b5e27a163..1ffa2ff7464f 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); |
