* Introduces VMCache::CanWritePage() returning whether the given cache can

theoretically write the given page.
* page writer: Fixed the incorrect check whether a temporary page can be
  written by using the new CanWritePage().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30281 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-04-20 15:19:41 +00:00
parent fe8e2eb13d
commit 65d2b8a8e9
7 changed files with 37 additions and 1 deletions
+1
View File
@@ -219,6 +219,7 @@ public:
virtual status_t WriteAsync(off_t offset, const iovec* vecs,
size_t count, size_t numBytes, uint32 flags,
AsyncIOCallback* callback);
virtual bool CanWritePage(off_t offset);
virtual status_t Fault(struct vm_address_space *aspace, off_t offset);