Commit a42dac90 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e5e027cd
Subproject commit 7aac849abf06ef469c2aad9a0dd6e3bb82ef1f96 Subproject commit e035748c67ff5ff49be77e902e4ea1c8446b3cf7
...@@ -192,7 +192,7 @@ void Conn::_pin1(SrvReq *req) { ...@@ -192,7 +192,7 @@ void Conn::_pin1(SrvReq *req) {
//trace("\tremmapblk %d @%s" % (req->blk, (h(req.at) if req.at else "head"))) //trace("\tremmapblk %d @%s" % (req->blk, (h(req.at) if req.at else "head")))
// check if virtmem did not dirtied page corresponding to this block already // check if virtmem did not dirtied page corresponding to this block already
virt_lock(); virt_lock();
TODO (mmap->file->blksize != mmap->filh->ramh->pagesize); TODO (mmap->file->blksize != mmap->fileh->ramh->pagesize);
if (!__fileh_page_isdirty(mmap->fileh, req->blk)) if (!__fileh_page_isdirty(mmap->fileh, req->blk))
mmap->_remmapblk(req.blk, req.at); mmap->_remmapblk(req.blk, req.at);
virt_unlock(); virt_unlock();
......
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