Commit 67d12c88 authored by marko's avatar marko

branches/zip: buf_flush_page(): Fix a comment that should have been fixed

in r3879.  Spotted by Sunny.
parent e490df51
...@@ -803,9 +803,8 @@ buf_flush_page( ...@@ -803,9 +803,8 @@ buf_flush_page(
Because any thread may call the LRU flush, even when owning Because any thread may call the LRU flush, even when owning
locks on pages, to avoid deadlocks, we must make sure that the locks on pages, to avoid deadlocks, we must make sure that the
s-lock is acquired on the page without waiting: this is s-lock is acquired on the page without waiting: this is
accomplished because in the if-condition above we require accomplished because buf_flush_ready_for_flush() must hold,
the page not to be bufferfixed (in function and that requires the page not to be bufferfixed. */
buf_flush_ready_for_flush). */
if (is_uncompressed) { if (is_uncompressed) {
rw_lock_s_lock_gen(&((buf_block_t*) bpage)->lock, rw_lock_s_lock_gen(&((buf_block_t*) bpage)->lock,
......
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