]> git.ipfire.org Git - thirdparty/linux.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, 23 Dec 2024 15:17:22 +0000 (08:17 -0700)
commit5c292ac6e69f390179b93dc104b40903cddce636
treea4a503fb159fbbea2028b5283df26e45cbfdf4d0
parentb769a2f409e7a356db852a1bb62a32f7809b3a3c
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