Commit 712b7de9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 607545f2
......@@ -366,6 +366,9 @@ void* virt_mmap_setup_read(VMA *vma, BigFile *file, blk_t blk, size_t blklen) {
if (err != nil)
panic("TODO"); // XXX
mmap->incref(); // vma->mmap_overlay_server is keeping ref to mmap
vma->mmap_overlay_server = mmap._ptr();
panic("TODO");
}
......@@ -382,6 +385,8 @@ void virt_munmap(VMA *vma, BigFile *file) {
vma->mmap_overlay_server = NULL;
mmap->unmap();
// XXX close mmap->fileh
}
// resync resyncs connection and its mappings onto different database view.
......
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