Changeset View
Changeset View
Standalone View
Standalone View
head/sys/fs/tmpfs/tmpfs_subr.c
Show First 20 Lines • Show All 1,484 Lines • ▼ Show 20 Lines | retry: | ||||
/* | /* | ||||
* Since the page was not resident, | * Since the page was not resident, | ||||
* and therefore not recently | * and therefore not recently | ||||
* accessed, immediately enqueue it | * accessed, immediately enqueue it | ||||
* for asynchronous laundering. The | * for asynchronous laundering. The | ||||
* current operation is not regarded | * current operation is not regarded | ||||
* as an access. | * as an access. | ||||
*/ | */ | ||||
vm_page_lock(m); | |||||
vm_page_launder(m); | vm_page_launder(m); | ||||
vm_page_unlock(m); | |||||
} else { | } else { | ||||
vm_page_free(m); | vm_page_free(m); | ||||
if (ignerr) | if (ignerr) | ||||
m = NULL; | m = NULL; | ||||
else { | else { | ||||
VM_OBJECT_WUNLOCK(uobj); | VM_OBJECT_WUNLOCK(uobj); | ||||
return (EIO); | return (EIO); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 434 Lines • Show Last 20 Lines |