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.
This commit is contained in:
marko 2006-12-04 13:12:07 +00:00
parent cbfc6cce6e
commit cce8ff1503

View file

@ -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);