Skip to content
Commit 00b89892 authored by Jens Axboe's avatar Jens Axboe
Browse files

Revert "bcache: fix fifo index swapping condition in journal_pin_cmp()"



Coly says:

"Guoju Fang talked to me today, he told me this change was unnecessary
and I was over-thought.

Then I realize fifo_idx() uses a mask to handle the array index overflow
condition, so the index swap in journal_pin_cmp() won't happen. And yes,
Guoju and Kent are correct.

Since you already applied this patch, can you please to remove this
patch from your for-next branch? This single patch does not break
thing, but it is unecessary at this moment."

This reverts commit c0e0954e.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 97ab474c
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