dm-integrity: stop using bio_devname
authorChristoph Hellwig <hch@lst.de>
Fri, 4 Mar 2022 18:01:00 +0000 (19:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Mar 2022 13:42:33 +0000 (06:42 -0700)
commit0a806cfde82fcd1fb856864e33d17c68d1b51dee
tree37f29640e2a66d79b79c5011d6c14fdaed4cd212
parent66671719650085f92fd460d2a356c33f9198dd35
dm-integrity: 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>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220304180105.409765-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-integrity.c