SlruShared shared = ctl->shared;
int bankno = SlotGetBankNumber(slotno);
- Assert(&shared->page_status[slotno] != SLRU_PAGE_EMPTY);
+ Assert(shared->page_status[slotno] != SLRU_PAGE_EMPTY);
/* See notes at top of file */
LWLockRelease(&shared->bank_locks[bankno].lock);
void
SimpleLruWritePage(SlruCtl ctl, int slotno)
{
- Assert(&ctl->shared->page_status[slotno] != SLRU_PAGE_EMPTY);
+ Assert(ctl->shared->page_status[slotno] != SLRU_PAGE_EMPTY);
SlruInternalWritePage(ctl, slotno, NULL);
}