remove write lock which is no longer required by buffer manager API

This commit is contained in:
Sears Russell 2011-07-15 16:28:50 +00:00
parent 90bc92c6ca
commit b271eefaa4

View file

@ -126,9 +126,7 @@ int main(int argc, char ** argv) {
for(long i =0; i < page_count; i++) {
Page * p = loadUninitializedPage(-1, i);
writelock(p->rwlatch,0);
stasis_dirty_page_table_set_dirty(stasis_runtime_dirty_page_table(), p);
unlock(p->rwlatch);
releasePage(p);
}
}