block: simplify printing the device names disk_stack_limits
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Jul 2021 06:25:16 +0000 (08:25 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 Aug 2021 19:37:28 +0000 (13:37 -0600)
commit453b8ab696b32cfd8bad80a5501937440d1cf214
tree757b8a99b0232b4092daf4f7ec0e69122556268c
parenta291bb43e5c9fdedc4be3dfd496e64e7c5a78b1f
block: simplify printing the device names disk_stack_limits

Printk ->disk_name directly for the disk and use the %pg format specifier
for the block device, which is equivalent to a bdevname call.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20210727062518.122108-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-settings.c