mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Don't clear flags we just checked were not set.
This commit is contained in:
parent
d6fa5d2806
commit
ff4782b57d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136961
@ -1116,7 +1116,6 @@ vm_mmap_vnode(struct thread *td, vm_size_t objsize,
|
||||
/*
|
||||
* Force device mappings to be shared.
|
||||
*/
|
||||
flags &= ~(MAP_PRIVATE|MAP_COPY);
|
||||
flags |= MAP_SHARED;
|
||||
} else {
|
||||
error = EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user