Print this page
10095 unchecked return value in segvn_pagelock()
*** 9078,9088 ****
ptob(svd->anon_index));
} else {
ptag = (void *)seg;
paddr = addr;
}
! (*preclaim_callback)(ptag, paddr, len, *ppp, rw, 0);
} else {
ASSERT((*ppp)[npages] == PCACHE_SHWLIST ||
IS_SWAPFSVP((*ppp)[npages]->p_vnode));
len = lpgeaddr - lpgaddr;
npages = btop(len);
--- 9078,9088 ----
ptob(svd->anon_index));
} else {
ptag = (void *)seg;
paddr = addr;
}
! (void) preclaim_callback(ptag, paddr, len, *ppp, rw, 0);
} else {
ASSERT((*ppp)[npages] == PCACHE_SHWLIST ||
IS_SWAPFSVP((*ppp)[npages]->p_vnode));
len = lpgeaddr - lpgaddr;
npages = btop(len);