Commit c1554f40 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5ba816da
......@@ -25,10 +25,10 @@
#include "wendelin/bigfile/virtmem.h"
#include "bigfile/_bigfile.h"
#include "bigfile/_file_zodb.h"
#include <ccan/container_of/container_of.h>
static void* zfile_mmap_setup_read(VMA *vma, BigFile *file, blk_t blk, size_t blklen) {
//_ZBigFile* _zfile = static_cast<_ZBigFile*>(file);
_ZBigFile* _zfile = NULL; // XXX
_ZBigFile* _zfile = container_of(file, _ZBigFile, __pyx_base.file);
wcfs::FileH fileh = _zfile->wfileh;
wcfs::Mapping mmap;
......
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