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

Since commit 43b62ce3ff0a ("block: move bio io prio to a new field"), macro
bio_prio() does nothing but return the value in bio->bi_ioprio. Most other
places just read bio->bi_ioprio directly, so replace bi_ioprio() callsites
with reading bio->bi_ioprio directly and delete that macro.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20241202111957.2311683-2-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-verity-fec.c
drivers/md/dm-verity-target.c
include/linux/bio.h