]> Git Repo - linux.git/commit
sbitmap: simplify wrap check
authorPavel Begunkov <[email protected]>
Sun, 22 Nov 2020 15:35:48 +0000 (15:35 +0000)
committerJens Axboe <[email protected]>
Tue, 8 Dec 2020 00:12:49 +0000 (17:12 -0700)
commit0eff1f1a38a95b20fec83d0b69409c8da967fe1e
treec1a9098927f94bc63dd67b111275a56bf21606ed
parentc3250c8d2451ffbea14ba95164c59edd943ee4be
sbitmap: simplify wrap check

__sbitmap_get_word() doesn't warp if it's starting from the beginning
(i.e. initial hint is 0). Instead of stashing the original hint just set
@wrap accordingly.

Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
lib/sbitmap.c
This page took 0.050582 seconds and 4 git commands to generate.