]> git.baikalelectronics.ru Git - kernel.git/commit
md: remove most calls to bdevname
authorChristoph Hellwig <hch@lst.de>
Thu, 12 May 2022 06:19:13 +0000 (08:19 +0200)
committerSong Liu <song@kernel.org>
Mon, 23 May 2022 06:07:21 +0000 (23:07 -0700)
commit6b7e926d4a85daecf62d58c7a09aa754cccb19af
treed5335aef357429a908652048eb5c83292640a612
parent19376e422df3b0aff2e5abf1845048bbef79a1c9
md: remove most calls to bdevname

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/md-linear.c
drivers/md/md-multipath.c
drivers/md/md.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5-cache.c
drivers/md/raid5-ppl.c
drivers/md/raid5.c