md-multipath: stop using bio_devname
authorChristoph Hellwig <hch@lst.de>
Fri, 4 Mar 2022 18:01:01 +0000 (19:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Mar 2022 13:42:33 +0000 (06:42 -0700)
commitee1925bd834418218c782c94e889f826d40b14d5
tree2a4f89bb5c6b79c707e590686c0a1e7ca6713cb5
parent0a806cfde82fcd1fb856864e33d17c68d1b51dee
md-multipath: stop using bio_devname

Use the %pg format specifier to save on stack consuption and code size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Song Liu <song@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220304180105.409765-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/md-multipath.c