Commit cce8ff15 authored by marko's avatar marko

branches/zip: buf_LRU_free_block(): Note that

buf_LRU_block_remove_hashed_page() changes the state of the block.
This error was introduced in r1090.
parent cbfc6cce
......@@ -231,7 +231,9 @@ buf_LRU_free_block(
buf_LRU_block_remove_hashed_page(bpage);
switch (buf_page_get_state(bpage)) {
case BUF_BLOCK_FILE_PAGE:
case BUF_BLOCK_REMOVE_HASH:
/* The state was changed from BUF_BLOCK_FILE_PAGE
in buf_LRU_block_remove_hashed_page(bpage). */
mutex_exit(&(buf_pool->mutex));
mutex_exit(block_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment