Commit 3e26a9fc authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d5c05f78
......@@ -1642,12 +1642,10 @@ int main()
{
tap_fail_callback = abort; // XXX to catch failure immediately
if (1) {
test_vmamap();
test_file_access_synthetic();
test_file_access_pagefault();
test_pagefault_savestate();
}
test_file_access_mmapbase();
return 0;
}
......@@ -96,7 +96,7 @@ struct bigfile_ops {
* // backend detects that block is changed from outside
* // fileh is vma->fileh - file handle with which the vma is associated
* virt_lock()
* if (!fileh_blk_isdirty(fileh, blk)) {
* if (!fileh_blk_isdirty(fileh, blk)) { XXX -> __fileh_page_isdirty(fileh, pgoff)
* // update mappings for all fileh's vma that cover blk
* }
* virt_unlock()
......
......@@ -74,8 +74,7 @@ namespace os {
// os::File mimics os.File from Go.
// its operations return error with full file context.
class _File;
typedef refptr<_File> File;
typedef refptr<class _File> File;
class _File : public object {
int _fd;
string _path;
......
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