diff options
author | phk <phk@FreeBSD.org> | 2004-10-26 05:57:29 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-10-26 05:57:29 +0000 |
commit | 76b805d6f461f60dd1a7f0a2726131fd4517b5cc (patch) | |
tree | c99ee902ec471f4fc04a27613a5c34c4e68649fe | |
parent | 53c873427ab2ae8bb56b057c752cbc9f60e0e04f (diff) | |
download | FreeBSD-src-76b805d6f461f60dd1a7f0a2726131fd4517b5cc.zip FreeBSD-src-76b805d6f461f60dd1a7f0a2726131fd4517b5cc.tar.gz |
Don't clear flags we just checked were not set.
-rw-r--r-- | sys/vm/vm_mmap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 6801bc2..9cff1e1 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -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; |