Commit 5dfff338 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2586d0c1
...@@ -443,6 +443,8 @@ pair<Mapping, error> _FileH::mmap(int64_t blk_start, int64_t blk_len, VMA *vma) ...@@ -443,6 +443,8 @@ pair<Mapping, error> _FileH::mmap(int64_t blk_start, int64_t blk_len, VMA *vma)
f._mmaps.push_back(mmap); // TODO keep f._mmaps ↑blk_start f._mmaps.push_back(mmap); // TODO keep f._mmaps ↑blk_start
// XXX vvv kill from here completely?
// (zfile_mmap_setup_read does vma->mmap_overlay_server = mmap + incref itself)
if (vma != NULL) { if (vma != NULL) {
vma->mmap_overlay_server = mmap._ptr(); // XXX +giveref vma->mmap_overlay_server = mmap._ptr(); // XXX +giveref
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment