Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109684359
D20849.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
871 B
Referenced Files
None
Subscribers
None
D20849.diff
View Options
Index: head/sys/vm/vm_map.c
===================================================================
--- head/sys/vm/vm_map.c
+++ head/sys/vm/vm_map.c
@@ -1422,7 +1422,7 @@
vm_map_insert(vm_map_t map, vm_object_t object, vm_ooffset_t offset,
vm_offset_t start, vm_offset_t end, vm_prot_t prot, vm_prot_t max, int cow)
{
- vm_map_entry_t new_entry, prev_entry, temp_entry;
+ vm_map_entry_t new_entry, prev_entry;
struct ucred *cred;
vm_eflags_t protoeflags;
vm_inherit_t inheritance;
@@ -1447,10 +1447,8 @@
* Find the entry prior to the proposed starting address; if it's part
* of an existing entry, this range is bogus.
*/
- if (vm_map_lookup_entry(map, start, &temp_entry))
+ if (vm_map_lookup_entry(map, start, &prev_entry))
return (KERN_NO_SPACE);
-
- prev_entry = temp_entry;
/*
* Assert that the next entry doesn't overlap the end point.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 9, 8:03 AM (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16527449
Default Alt Text
D20849.diff (871 B)
Attached To
Mode
D20849: drop a temp variable from vm_map_insert
Attached
Detach File
Event Timeline
Log In to Comment