Commit 27c82f14 authored by Yury Norov's avatar Yury Norov
Browse files

lib/find: optimize find_*_bit_wrap



When an offset is 0, there's no need to search a bitmap from the
beginning after the 1st search failed, because each bit has already
been tested.

Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
parent 92697139
Supports Markdown
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