summaryrefslogtreecommitdiffstats
path: root/block/blk-zoned.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-11-22 15:35:48 +0000
committerJens Axboe <axboe@kernel.dk>2020-12-07 17:12:49 -0700
commit0eff1f1a38a95b20fec83d0b69409c8da967fe1e (patch)
treec1a9098927f94bc63dd67b111275a56bf21606ed /block/blk-zoned.c
parentc3250c8d2451ffbea14ba95164c59edd943ee4be (diff)
downloadlinux-stable-0eff1f1a38a95b20fec83d0b69409c8da967fe1e.tar.gz
linux-stable-0eff1f1a38a95b20fec83d0b69409c8da967fe1e.tar.bz2
linux-stable-0eff1f1a38a95b20fec83d0b69409c8da967fe1e.zip
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 <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-zoned.c')
0 files changed, 0 insertions, 0 deletions