diff options
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/tmpfs/tmpfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index 64114fa..a00ba2f 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -606,8 +606,8 @@ out: VM_OBJECT_LOCK(vobj); vm_page_lock_queues(); if (error == 0) { - vm_page_set_validclean(tpg, offset, tlen); - vm_page_zero_invalid(tpg, TRUE); + KASSERT(tpg->valid == VM_PAGE_BITS_ALL, + ("parts of tpg invalid")); vm_page_dirty(tpg); } vm_page_unwire(tpg, TRUE); |