• Kent Overstreet's avatar
    block: Remove bi_idx references · 4f2ac93c
    Kent Overstreet authored
    For immutable bvecs, all bi_idx usage needs to be audited - so here
    we're removing all the unnecessary uses.
    Most of these are places where it was being initialized on a bio that
    was just allocated, a few others are conversions to standard macros.
    Signed-off-by: 's avatarKent Overstreet <koverstreet@google.com>
    CC: Jens Axboe <axboe@kernel.dk>
dev_bdev.c 8.17 KB