Commit 213234bf authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1c652136
......@@ -807,7 +807,8 @@ pair<Mapping, error> _FileH::mmap(int64_t blk_start, int64_t blk_len, VMA *vma)
xerr::Contextf E("%s: mmap f<%s> [blk%ld +blk%ld)", v(f.wconn), v(f.foid), blk_start, blk_len);
// XXX closed -> return E(os::ErrClosed)
if (f._closed) // XXX locking
return make_pair(nil, E(os::ErrClosed));
error err;
......
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