summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
64ed365)
newpage() does not raise error().
pe = offset+l;
}
} else {
pe = offset+l;
}
} else {
- if(needpages(nil) || waserror()){
invalidate(m, offset + pn*BY2PG, len);
break;
}
p = newpage(0, nil, pn*BY2PG);
invalidate(m, offset + pn*BY2PG, len);
break;
}
p = newpage(0, nil, pn*BY2PG);
p->daddr = cacheaddr(m, pn);
cachedel(&fscache, p->daddr);
cachepage(p, &fscache);
p->daddr = cacheaddr(m, pn);
cachedel(&fscache, p->daddr);
cachepage(p, &fscache);