Commit 563e6927 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 01adff19
...@@ -1235,12 +1235,14 @@ error _Mapping::remmap_blk(int64_t blk) { ...@@ -1235,12 +1235,14 @@ error _Mapping::remmap_blk(int64_t blk) {
// //
// Must be called with the following locks held by caller: // Must be called with the following locks held by caller:
// - virt_lock // - virt_lock
// XXX more? // - fileh.mmapMu
error _Mapping::__remmapAsEfault() { error _Mapping::__remmapAsEfault() {
_Mapping& mmap = *this; _Mapping& mmap = *this;
FileH f = mmap.fileh; FileH f = mmap.fileh;
xerr::Contextf E("%s: remmap as efault", v(mmap)); // XXX +wconn, +f ? // errctx: no need for wconn and f: __remmapAsEfault is called only from
// FileH._closeLocked who adds them.
xerr::Contextf E("%s: remmap as efault", v(mmap));
etrace(""); etrace("");
error err = mmap_efault_into(mmap.mem_start, mmap.mem_stop - mmap.mem_start); error err = mmap_efault_into(mmap.mem_start, mmap.mem_stop - mmap.mem_start);
......
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