diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2015-05-20 23:03:22 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2015-05-20 23:03:22 +0000 |
commit | da47499040fc99cbbf5cfe4fcb414225a098c3ec (patch) | |
tree | 3645641a009a969a7812c5ffd752a221ea78163d /sys/vm/vm_page.c | |
parent | f3dba867733382699f946d80045e80e1f145d7b4 (diff) | |
download | src-da47499040fc99cbbf5cfe4fcb414225a098c3ec.tar.gz src-da47499040fc99cbbf5cfe4fcb414225a098c3ec.zip |
Remove the write-only variable phent. We currently do not check the
size of the program header's entries.
Reported by: adrian (by using gcc 4.9)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=283162
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r-- | sys/vm/vm_page.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 0aec01f64bc2..ad4457152ddd 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -1756,6 +1756,7 @@ vm_page_alloc(vm_object_t object, vm_pindex_t pindex, int req) m->wire_count = 0; } m->object = NULL; + m->oflags = VPO_UNMANAGED; vm_page_free(m); return (NULL); } |