]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4fbe4414e56c80331cc1b647dd5edefeaf051378
tree757b8a99b0232b4092daf4f7ec0e69122556268c
parentd9d8695faf728c919cac9ffa7365288379a303ba
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