]> www.infradead.org Git - users/hch/misc.git/commit
block: Delete bio_set_prio()
authorJohn Garry <john.g.garry@oracle.com>
Mon, 2 Dec 2024 11:19:57 +0000 (11:19 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Dec 2024 13:58:30 +0000 (06:58 -0700)
commitac3f91005dae5e6e734095273cef463cbe559320
treec3aaec475106717f8c2e8a0566369753a700be95
parent3724f01b4370f9bed3524591807fa1604cd8b40c
block: Delete bio_set_prio()

Since commit 43b62ce3ff0a ("block: move bio io prio to a new field"), macro
bio_set_prio() does nothing but set bio->bi_ioprio. All other places just
set bio->bi_ioprio directly, so replace bio_set_prio() remaining
callsites with setting bio->bi_ioprio directly and delete that macro.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20241202111957.2311683-3-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-srv.c
drivers/md/bcache/movinggc.c
drivers/md/bcache/writeback.c
fs/bcachefs/move.c
include/linux/bio.h