OSDN Git Service

raid5-ppl: stop using bio_devname
authorChristoph Hellwig <hch@lst.de>
Fri, 4 Mar 2022 18:01:03 +0000 (19:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Mar 2022 13:42:33 +0000 (06:42 -0700)
commitc7dec4623c9cde20dad8de319d177ed6aa382aaa
tree8db256c4a6cfd885ede91be95dfce8edb16a999e
parentac483eb375fa4a815a515945a5456086c197430e
raid5-ppl: 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: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220304180105.409765-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/raid5-ppl.c