Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
712b7de9
Commit
712b7de9
authored
Dec 16, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
607545f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
wcfs/internal/wcfs_virtmem.cpp
wcfs/internal/wcfs_virtmem.cpp
+5
-0
No files found.
wcfs/internal/wcfs_virtmem.cpp
View file @
712b7de9
...
@@ -366,6 +366,9 @@ void* virt_mmap_setup_read(VMA *vma, BigFile *file, blk_t blk, size_t blklen) {
...
@@ -366,6 +366,9 @@ void* virt_mmap_setup_read(VMA *vma, BigFile *file, blk_t blk, size_t blklen) {
if
(
err
!=
nil
)
if
(
err
!=
nil
)
panic
(
"TODO"
);
// XXX
panic
(
"TODO"
);
// XXX
mmap
->
incref
();
// vma->mmap_overlay_server is keeping ref to mmap
vma
->
mmap_overlay_server
=
mmap
.
_ptr
();
panic
(
"TODO"
);
panic
(
"TODO"
);
}
}
...
@@ -382,6 +385,8 @@ void virt_munmap(VMA *vma, BigFile *file) {
...
@@ -382,6 +385,8 @@ void virt_munmap(VMA *vma, BigFile *file) {
vma
->
mmap_overlay_server
=
NULL
;
vma
->
mmap_overlay_server
=
NULL
;
mmap
->
unmap
();
mmap
->
unmap
();
// XXX close mmap->fileh
}
}
// resync resyncs connection and its mappings onto different database view.
// resync resyncs connection and its mappings onto different database view.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment